Closed UdoKifferbrehl closed 7 years ago
Thanks for the suggestion.
How would authorization work? Would the badge include a monitor-specific API key?
Would be nice 🙃
@crazy-max Would you like to make a pull request? There is a tutorial.
@paulmelnikow I have tried to make StatusCake badges #864 but they do not plan to include read-only API keys and i'm afraid it's the same for Uptime Robot for now.
Gotcha. Will mark both of these as awaiting help from the vendor, then.
Great news from Uptime Robot staff :
Hi,
Yes. Details below :).
Currently, there are account API keys that can fetch all the account data.
And, there are "per monitor API keys" which are read-only and can only get the data of that monitor. Considering a badge will be per monitor, that looks like it'll be a perfect fit.
The "per monitor API keys" can be created from My Settings page>API and the API docs can be found at: https://uptimerobot.com/api .
Have a great day,
Umut Muhaddisoglu http://www.uptimerobot.com http://twitter.com/uptimerobot
I have created the PR #947
I'm going to close this issue as the pull request has been merged. It hasn't been deployed yet, but you can follow along in #947. Thanks for your contribution!
What do you think of adding an Uptime Robot shield?