Skip to main content

StatusCake API

Project description

# Introduction The StatusCake API is organised around the features that we offer, with each feature providing a set of endpoints to perform operations on resources associated with your account. # Authentication The StatusCake API uses API keys to authenticate requests. You can view and manage your API keys from [the StatusCake account panel](https://app.statuscake.com/User.php). All API requests must be made over HTTPS. Calls made over plain HTTP will be redirected to the secure endpoint. API requests without authentication will fail unless otherwise stated in the documentation for the specific endpoint. <SecurityDefinitions /> For example an authenticated request must contain an HTTP header of the form `Authorization: Bearer <API KEY>`. NOTE: API keys must be kept private. In the event that is it exposed a new one should be generated. # Ratelimits Ratelimits are applied to the API to prevent any one client degrading the overall system stability. StatusCake accounts without a subscription, or those on a free plan, can make a maximum of 10 requests per second. For accounts with a paid subscription this limit is increaed to 20 requests per second. Authenticated requests are associated with the authenticated account, regardless of which API key was used. This means that all API clients share the same ratelimit quota per second when they authenticate with different API keys owned by the same StatusCake account. When the ratelimit quota is exceeded all future requests will return an HTTP `429` status until the ratelimit window is reset. # Cross-Origin Resource Sharing The StatusCake API features Cross-Origin Resource Sharing (CORS) implemented in compliance with the W3C specification. This allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone. # Errors StatusCake uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the `2xx` range indicate success. Codes in the `4xx` range indicate an error that failed given the information provided (e.g. a required parameter was omitted or malformed). Codes in the `5xx` range indicate an error with StatusCake servers. ## Handling Errors Our client libraries raise exceptions, or return error types, depending on the control flow supported by the language. We recommend using these to write code that handles all possible API exceptions. # noqa: E501

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

statuscake_py-1.0.0b2.tar.gz (80.3 kB view details)

Uploaded Source

Built Distribution

statuscake_py-1.0.0b2-py3-none-any.whl (225.8 kB view details)

Uploaded Python 3

File details

Details for the file statuscake_py-1.0.0b2.tar.gz.

File metadata

  • Download URL: statuscake_py-1.0.0b2.tar.gz
  • Upload date:
  • Size: 80.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0

File hashes

Hashes for statuscake_py-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 f515f83c6cb998b53175da4201cf27570d025925d67fe2bd1ee89a4697ff8b65
MD5 61299eba62c1f8f31c98edce337e2262
BLAKE2b-256 3641a2e03feac77a06edc754a31c76d76c1956df7171ff6d49facdd10e0ce162

See more details on using hashes here.

File details

Details for the file statuscake_py-1.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: statuscake_py-1.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 225.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0

File hashes

Hashes for statuscake_py-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6852cd1834b6380157fbaffd0373ef00126b487fe51ddeb6bfdb0b2f408503f
MD5 8f8d9b069216363bb677d6cc899964f7
BLAKE2b-256 85b7dc1ece424f2e826e622066efea00dd46de76976e89008a2b1cd75b09ccf3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page