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 (
    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.1b1.tar.gz (76.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

statuscake_py-1.0.1b1-py3-none-any.whl (214.8 kB view details)

Uploaded Python 3

File details

Details for the file statuscake_py-1.0.1b1.tar.gz.

File metadata

  • Download URL: statuscake_py-1.0.1b1.tar.gz
  • Upload date:
  • Size: 76.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for statuscake_py-1.0.1b1.tar.gz
Algorithm Hash digest
SHA256 aaff10422163c98191297ebf44391de806f2c757abcfbd0e1a7f24ffbfbcd31d
MD5 0018c2fb81d27d9555fbb278a91e9fcf
BLAKE2b-256 f8860fdb4562bbf485069092788f00de8ec94302c4f2d346325b90286e1a2a28

See more details on using hashes here.

File details

Details for the file statuscake_py-1.0.1b1-py3-none-any.whl.

File metadata

File hashes

Hashes for statuscake_py-1.0.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 66639d961753d317883fd7cea67503c09704ab6aef2e7f1eb5e0422c239c140f
MD5 991bc2005190ea47dc25578bf64b79b2
BLAKE2b-256 eef7e7a5fe8b6cd40ebde8722b7a79aa3d3070342fe2e3e290c6d1b6cb5f4cdd

See more details on using hashes here.

Supported by

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