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 = statitAPI.getSerie('<serie_id>')
Alongside with the remaining PUT
and all their respective batch
actions, they are also available in standard JSON request format:
statitAPI.putSerieJSON({
'id': '<serie_id>',
...
})
For the full list of methods and their detailed arguments, see the Python Documentation.
Project details
Release history Release notifications | RSS feed
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.0b2.tar.gz
(14.8 kB
view details)
Built Distribution
File details
Details for the file statit_py-1.0.0b2.tar.gz
.
File metadata
- Download URL: statit_py-1.0.0b2.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e2f385c7795e5ca52381c5d51c89ce4427094b273987b37945f3108de2077a |
|
MD5 | e6389b107f8fc84dc4b47ff2ff6bd02a |
|
BLAKE2b-256 | 7ba42e79af623885a135e1be1824f4f81dc7a0bdb1a5313751c9fa19649b247a |
File details
Details for the file statit_py-1.0.0b2-py3-none-any.whl
.
File metadata
- Download URL: statit_py-1.0.0b2-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 705b42e4859b6c56949aae8ad1d85434379b846d51cbf34228847a3a54b7a493 |
|
MD5 | 0ece78896ae43805e4ee1820ed723c04 |
|
BLAKE2b-256 | 6f8652e99161d26f4803fb9bd2c6d68c0045e138731ca4586b1bf5ca2921afc8 |