Skip to main content

StatusCake API

Project description

NOTE: This library is in alpha and not production ready. Whilst it can be used we will not offer support until it is generally available.

The Python implementation of the StatusCake API client. Documentation for this library can be found here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

PyPi

Using PyPi, add the following to requirement.txt:

statuscake_py

And then execute:

$ pip install -r requirements.txt

Or install it yourself:

$ pip install statuscake_py

GitHub

Installing the latest version from Github:

$ git clone https://github.com/StatusCakeDev/statuscake-py
$ cd statuscake-py
$ python setup.py install

Usage

Import the module from any Python file, instantiate an API client and execute a request:

from statuscake import ApiClient
from statuscake.apis import (
    ContactGroupApu,
    LocationsApi,
    MaintenanceWindowsApi,
    PagespeedApi,
    SslApi,
    UptimeApi,
)

client = ApiClient(
   header_name='Authorization',
   header_value='Bearer %s' % api_token,
)

service = UptimeApi(api_client=client)
service.list_uptime_tests()

License

This project is licensed under the MIT License.

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.0b3.tar.gz (78.7 kB view details)

Uploaded Source

Built Distribution

statuscake_py-1.0.0b3-py3-none-any.whl (215.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: statuscake_py-1.0.0b3.tar.gz
  • Upload date:
  • Size: 78.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.0

File hashes

Hashes for statuscake_py-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 e2ca0d0b9a139fdfe5ecb79c00fe30cf1b9e81a1ec39713d83ce98a821028a47
MD5 d01027d6baa4da3917d2067bba09338c
BLAKE2b-256 024b451cdaf04dd34ed35b44eda9acd078e57581d0bb27d6c53151415527ac99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for statuscake_py-1.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c875b504fe28fed7e18a5fcd478b4cd83e2184bb48fb1c885d676aa687e5109
MD5 8057772881a80179f66de0c2a1d39f34
BLAKE2b-256 19e0941d44d353ad647703a33434d258cbe3a0c3556c3806ffb5dabf88f43bb3

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