Reputation: 4501
I can get Travis's status at https://www.traviscistatus.com/. I'd like to be able to get the same info in a json object (or at least some sort of structured response). Similar to what I get from: https://status.github.com/api/status.json or https://status.heroku.com/api/v3/current-status. Is there a simple URL that will give me that? I can parse the HTML from traviscistatus.com if I have to, but surely there's a better way?
(I'm having a hard time googling for this since there's so much about how to get a build status, which is not what I want.)
Thanks!
Upvotes: 1
Views: 77
Reputation: 2223
Since the page is powered by statuspage.io you might be able to use their API, but it's not immediately obvious to me if you can get an API token that is valid for "foreign" pages. Other than that there's the atom feed which would be easy to parse, but might not have everything you want.
Upvotes: 1