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
eventsvariable is a list - Note: possible values are:
canceledandinvited - Note: by default the
eventslist 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
successkey. 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
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| calendly-1.1.1.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for calendly 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.