Skip to main content

Utilities for gostatit.com

Project description

statit_py

A package to access the Statit API

Installation

To install the current release:

$ pip install statit_py

Quick usage

To use the Statit REST API methods, first authenthicate yourself with your username and API token (see Signing-in):

import statit_py

statitAPI = statit_py.coreAPI('<username>', '<api_key>')

GET, LIST and DELETE actions for collections and series are available in reference-by-ID format:

data = api.getSerie('<serie_id>')

Alongside with the remaining PUT and all their respective batch actions, they are also available in standard JSON request format:

api.putSerieJSON({
    'id': '<serie_id>',
    ...
})

For the full list of methods and their detailed arguments, see the Python Documentation.

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

statit_py-1.0.0b0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

statit_py-1.0.0b0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file statit_py-1.0.0b0.tar.gz.

File metadata

  • Download URL: statit_py-1.0.0b0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for statit_py-1.0.0b0.tar.gz
Algorithm Hash digest
SHA256 916991e627aac5d8ed42ebae78f62a503721151d85898b8e0631cd3f43a7363e
MD5 bee7a2dda560ef867eff3f20b3aa930a
BLAKE2b-256 89d71e43f447e542131317190883540ac61fa002f7307166a2aebffd09e244aa

See more details on using hashes here.

File details

Details for the file statit_py-1.0.0b0-py3-none-any.whl.

File metadata

  • Download URL: statit_py-1.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for statit_py-1.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 0412c5879fc1836abcc5baf0a92d650a1ff57094421da0f1e0ae27b2e2301a56
MD5 23c87b1fa605b40e187346de299bf50c
BLAKE2b-256 e96196fdb986910fe918a14193826104fdf38c96f8c7020a7c2ebf603b12cc2e

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