TimeChimp API Python SDK
Project description
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
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
timechimp-0.0.27.tar.gz
(23.7 kB
view details)
File details
Details for the file timechimp-0.0.27.tar.gz
.
File metadata
- Download URL: timechimp-0.0.27.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | accebda8d9276cb35cb4f41c15be62b05812756d64620db7ad8cf4bcc3662cbd |
|
MD5 | f12372d68ea6dccacf2946cda8310a9d |
|
BLAKE2b-256 | aa302bde4a3e788cb56d378c83514095fe9e8af0c918728e9937c2ad8be91f29 |