Python HTTP Client library for the Clio Manage API
- OAuth2 token support
- Pagination via Cursors
- Rate limiting (by token)
Clone hyacinth
repository to your local environment:
git clone git@github.com:LegalMate/hyacinth.git
Install hyacinth
in your project:
poetry install git:ssh//git@github.com/LegalMate/harmonia.git
Import hyacinth
:
import hyacinth
Create a Session:
s = hyacinth.Session(client_id=<client_id>,
client_secret=<client_secret>,
token=<token>)
Use the Session:
me = s.get_who_am_i()
print(me)
=> {'id': 350963386, 'etag': '"14eb46ba60ce9c2e6a68f6d0d2c36334"', 'name': 'Anson MacKeracher'}
If you'd like to contribute to hyacinth
's development, here's how to
get your environment set up:
poetry install
Feel free to submit a Pull Request with any changes. Things are low-key, and low-process for the time being. Don't be a stranger!
Run the test suite via:
poetry run test