Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatusCake badges #864

Closed
crazy-max opened this issue Jan 22, 2017 · 8 comments
Closed

StatusCake badges #864

crazy-max opened this issue Jan 22, 2017 · 8 comments
Labels
needs-upstream-help Not actionable without help from a service provider service-badge New or updated service badge

Comments

@crazy-max
Copy link
Contributor

Would be nice to have a shields.io badge for the StatusCake service.
For the moment i use the StatusCake badges but like you can see on the README.md of this repository, the integration is pretty awful...

An example link provided by StatusCake :

<a href="https://www.statuscake.com" title="Website Uptime Monitoring"><img src="https://app.statuscake.com/button/index.php?Track=mZ96VTLi6T&Days=1&Design=6" /></a>

Basic parameters are :

  • track_id (string)
  • days (integer between 1 and 1000)

Example :

1 day for track_id mZ96VTLi6T : StatusCake Uptime

Thanks!

@crazy-max
Copy link
Contributor Author

crazy-max commented Jan 22, 2017

Also based on the API we can grab tests by their IDs.

Example : https://app.statuscake.com/API/Tests/Details/?TestID=1811593

{
   "Method":"GET",
   "TestID":1811593,
   "TestType":"HTTP",
   "Paused":false,
   "WebsiteName":"neard.io",
   "URI":"http:\/\/neard.io",
   "ContactGroup":null,
   "ContactID":0,
   "ContactGroups":[

   ],
   "Status":"Up",
   "Uptime":100,
   "CheckRate":300,
   "Timeout":40,
   "LogoImage":"",
   "Confirmation":"2",
   "WebsiteHost":"Github",
   "NodeLocations":[
      ""
   ],
   "FindString":"",
   "DoNotFind":false,
   "LastTested":"2017-01-22 16:52:27",
   "NextLocation":"JP1",
   "Processing":false,
   "ProcessingState":"Complete",
   "ProcessingOn":"SSDVPS1",
   "DownTimes":"0",
   "TriggerRate":"0",
   "Sensitive":false,
   "EnableSSLWarning":false,
   "FollowRedirect":false,
   "DNSIP":"",
   "DNSServer":"",
   "CustomHeader":""
}

Then we can create two badges for status and uptime.

@crazy-max
Copy link
Contributor Author

crazy-max commented Jan 22, 2017

But the API required an API key or a username/password linked to the testID :(

@FezVrasta
Copy link
Contributor

Don't they provide read only API keys? It would be good enough to be able to read the datum

@crazy-max
Copy link
Contributor Author

crazy-max commented Jan 27, 2017

@FezVrasta I have posted an issue to StatusCake about it, i'll keep you in touch

@crazy-max
Copy link
Contributor Author

StatusCake: Hey there, that's correct - we don't currently include the read-only keys, and currently only provide the standard key that you see in the User Details section :)
Me: Ok thanks, do you plan to include read-only API keys ?
StatusCake: I've put this in as a feature suggestion but no current plans I'm afraid!

@paulmelnikow paulmelnikow added service-badge New or updated service badge needs-upstream-help Not actionable without help from a service provider labels Apr 17, 2017
@StatusCakeDaniel
Copy link

We'd be more than happy to make a call that suits - what would be the ideal response / call?

~Dan @ StatusCake

@crazy-max
Copy link
Contributor Author

Hi @StatusCakeDaniel,

You can read the issue #824 i opened for UptimeRobot Shield and read my modification on the PR #947.
The blocking issue is that StatusCake does not provide a public (read-only) API key. If you have more info, i can develop a similar badge as UptimeRobot.

@paulmelnikow
Copy link
Member

I'm marking all the needs-upstream-help issues closed.

If there's new information from the upstream service, please post in the thread. If they're actionable by Shields, a maintainer will reopen the issue.

If anyone wants to follow up with these vendors, feel free to do that! Even though the unresolved issues are closed, they are easy to find:

https://github.com/badges/shields/issues?q=label%3Aneeds-upstream-help+is%3Aclosed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-upstream-help Not actionable without help from a service provider service-badge New or updated service badge
Projects
None yet
Development

No branches or pull requests

4 participants