Skip to content

Afilnor/TimeChimp

Repository files navigation

TimeChimp Python SDK

Build Doc codecov License PyPI version Downloads Code style: black Discord

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

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