Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datelist-sdk-python-1.0.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

datelist_sdk_python-1.0.0-py3.9.egg (2.0 kB view details)

Uploaded Source

File details

Details for the file datelist-sdk-python-1.0.0.tar.gz.

File metadata

  • Download URL: datelist-sdk-python-1.0.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4

File hashes

Hashes for datelist-sdk-python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6ed05fc2a1d5d8e9a3a5a909b90814b9a11c1b9c4f65e4efb3d011862bfe99c3
MD5 2d3b310754a9b3787c874e3aaa9f74a4
BLAKE2b-256 e6bb8b171d57a44d761c9a4fe11a0fd786057ab4bed429d62b29cb6138a5d160

See more details on using hashes here.

File details

Details for the file datelist_sdk_python-1.0.0-py3.9.egg.

File metadata

  • Download URL: datelist_sdk_python-1.0.0-py3.9.egg
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4

File hashes

Hashes for datelist_sdk_python-1.0.0-py3.9.egg
Algorithm Hash digest
SHA256 c402cb0b859d575d80e9bf9cdf0658a9dea9a2d884f1d449a17cf56e63d378ac
MD5 bc2170b65f2247ceb5f602483d6c7d55
BLAKE2b-256 148849559298c5c9a2b2e2f32468aa880fb14b9075167bdc56442e434604cdf6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page