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 hashes)