API wrapper for Tidycal written in Python
Project description
tidycal-python
tidycal-python is an API wrapper for Tidycal, written in Python.
This library uses Oauth2 for authentication.
Installing
pip install tidycal-python
Usage
from tidycal.client import Client
client = Client(client_id, client_secret, redirect_uri=redirect_uri)
To obtain and set an access token, follow this instructions:
- Get authorization URL
url = client.authorization_url()
# This call generates the url necessary to display the pop-up window to perform oauth authentication
- Get access token using code
token = client.get_access_token(code)
# "code" is the same response code after login with oauth with the above url.
- Get current user
client.get_current_user()
- List of Bookings
client.list_bookings()
- List of Booking Types
client.list_booking_types()
- List of Contacts
client.list_contacts()
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
tidycal_python-0.1.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for tidycal_python-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae70195efcecd8b2f39d867f464eb3bab3e3447f2e36f0eda02e09c7eff60930 |
|
MD5 | b4bc81726a258f5a8777077340344de9 |
|
BLAKE2b-256 | b7e2497b7dc0a7f1129093a2beb2ea734cc79191576a1d90edb24fb4f3b498c2 |