RickBakkr / hetzner-notify

A bot that uses webhooks and the Hetzner Serverbörse API to notify you of new servers in the Hetzner Server Auction / Serverbörse.
27 stars 6 forks source link

little refactoring for config handling #9

Closed spinsch closed 5 years ago

spinsch commented 5 years ago

a small part for #6.

RickBakkr commented 5 years ago

Have you tested this? Not at my PC, so unable to verify.. I recall the Hetzner JSON API did a bit odd when not imposing to be a "real" client using a proper User Agent? Have you found this to be working?

spinsch commented 5 years ago

Have you tested this? Not at my PC, so unable to verify.. I recall the Hetzner JSON API did a bit odd when not imposing to be a "real" client using a proper User Agent? Have you found this to be working?

yes, i've always 200er response with data :)

RickBakkr commented 5 years ago

LGTM then.