Skip to main content

CircleCI

calendly-python 🐍

Python package to use the Calendly API 🚀

Installation

pip install calendly

Usage

Set your Authentication token

See Calendly docs to get your auth token

from calendly import Calendly
calendly = Calendly(api_key)

Test the auth token

calendly.echo()

Webhooks

Create A Webhook Subscription
calendly.create_webhook('https://your-webhook.com', events=['canceled', 'invited'])
  • Note: the events variable is a list
  • Note: possible values are: canceled and invited
  • Note: by default the events list contains the 2 possible values
Get Webhook Subscription
calendly.get_webhook('webhook_id')
Get List of Webhook Subscriptions
calendly.list_webhooks()
Delete Webhook Subscription
calendly.remove_webhook('webhook_id')
  • Note: the response will be {'success': True} if the webhook was successfully removed, otherwise it will be {'success': False, "type": "calendly type", "message": "reason it failed"}

User Event Types

calendly.event_types()

About Me

calendly.about()

Important

  • Note: All the responses are dictionaries with the calendly response, except for the remove webhook method that also contains the success key. Check their docs to know the possible responses!

TODOs:

Next steps for this package:

  • Improve how the methods return the responses: proccess Calendly responses and make them objects, so that users can manage the information in an easier way
  • Support for version 2 <3
  • Creating reusable exceptions for error messages

Release files for calendly 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calendly 1.1.1
File Size Uploaded
calendly-1.1.1.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for calendly 1.1.1
File Interpreter ABI Platform
calendly-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / calendly-1.1.1.tar.gz

Download URL calendly-1.1.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bc6a17c305fea8f2199512e5ba1af5ff94991fe0f245b69d8fd01d4bc0586390
BLAKE2b-256 checksum
How to use checksums
83e32f4be985a2463bae4163ebb649b9da8a92d2f858a22b004a2296d7457276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

Release files / calendly-1.1.1-py3-none-any.whl

Download URL calendly-1.1.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9df18543a83cc2dddafb20bdf74654c49e5395b166e034c9c6c82dd610830614
BLAKE2b-256 checksum
How to use checksums
3e904c90dc6aa2511dd5aea8143ce0bed299ffe3a1985a3a8109e70279c0d302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page