TimeChimp Python SDK
Description
- SDK to interact with TimeChimp API
- Can return a converted response to JSON and check for errors.
- Log HTTP method, url, params (hide access token)
How to install
pip3 install timechimp
Package Documentation
https://timechimp.readthedocs.io/en/latest/
Source structure
- TimeChimp endpoints are defined in
timechimp.api
How to use
- access token is retrieved through env variables
TIMECHIMP_ACCESS_TOKEN - TimeChimp API Documentation
Get the requests response object
import timechimp
response = timechimp.api.users.get_all()
Convert the response object to json
import timechimp
users = timechimp.api.users.get_all(to_json=True)
Test
pytest
Metadata
Release files for timechimp 0.0.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| timechimp-0.0.27.tar.gz | 23.7 kB | Details |
Release files / timechimp-0.0.27.tar.gz
| Download URL | timechimp-0.0.27.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
accebda8d9276cb35cb4f41c15be62b05812756d64620db7ad8cf4bcc3662cbd
|
|
BLAKE2b-256 checksum How to use checksums |
aa302bde4a3e788cb56d378c83514095fe9e8af0c918728e9937c2ad8be91f29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|