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.0b1.tar.gz
(14.8 kB
view details)
Built Distribution
File details
Details for the file statit_py-1.0.0b1.tar.gz
.
File metadata
- Download URL: statit_py-1.0.0b1.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 | 4d8f1712ebd461d0496b7652eef528aa62b6a45bd9e6b9b6af34bea7023a792d |
|
MD5 | f10f21db636f6454f778d89ec765749a |
|
BLAKE2b-256 | 1951f7f53a239c741a6804a0c89fed9f73b9ae8ccc35c88c832b7eb5dc4b1102 |
File details
Details for the file statit_py-1.0.0b1-py3-none-any.whl
.
File metadata
- Download URL: statit_py-1.0.0b1-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 | 88a484c6f2913091eb93910f155459cb9ef0c468de0e87d8430b86337598f538 |
|
MD5 | 1c080b92ac13609ea9fdbe8cbabaa0ab |
|
BLAKE2b-256 | 1d9f7a78318b7d9d5f2f60de7e283074c168a4f24f0f7a49ab3878e4fe51e255 |