SDK for https://datelist.io in Python
Project description
SDK for https://datelist.io in Python
Usage
from datelist.client import Client
client = Client('WGQqyEjfXLtK74K5YuxrHn7v')
calendars = client.list_calendars()
products = client.list_products({ 'calendar_id': 441, 'name': "Table" })
slots = client.list_booked_slots({
'email': "test@test.com",
'calendar_id': 441,
'from': "2021-08-04T04:51:59.945Z",
'to': "2021-08-30T04:51:59.945Z",
})
print(calendars)
print(products)
print(slots)
print(client.update_booked_slot(slots[0]['id'], {'email': 'test2@test.com'}))
print(client.update_booked_slot(slots[0]['id'], {'email': 'test@test.com'}))
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
Built Distribution
Close
Hashes for datelist-sdk-python-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ed05fc2a1d5d8e9a3a5a909b90814b9a11c1b9c4f65e4efb3d011862bfe99c3 |
|
MD5 | 2d3b310754a9b3787c874e3aaa9f74a4 |
|
BLAKE2b-256 | e6bb8b171d57a44d761c9a4fe11a0fd786057ab4bed429d62b29cb6138a5d160 |
Close
Hashes for datelist_sdk_python-1.0.0-py3.9.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c402cb0b859d575d80e9bf9cdf0658a9dea9a2d884f1d449a17cf56e63d378ac |
|
MD5 | bc2170b65f2247ceb5f602483d6c7d55 |
|
BLAKE2b-256 | 148849559298c5c9a2b2e2f32468aa880fb14b9075167bdc56442e434604cdf6 |