Skip to main content

A Python wrapper for the Calendly API (https://developer.calendly.com/docs/)

Project description

<a href=”https://codeclimate.com/github/kevteg/calendly-python/maintainability”><img src=”https://api.codeclimate.com/v1/badges/8d96f6b46f140f3d178b/maintainability” /></a> [![CircleCI](https://circleci.com/gh/kevteg/calendly-python/tree/master.svg?style=svg)](https://circleci.com/gh/kevteg/calendly-python/tree/master) # calendly-python 🐍

Python package to use the [Calendly](http://calendly.com) API 🚀

## Installation

pip install calendly

## Usage

### Set your Authentication token See [Calendly docs](https://developer.calendly.com/docs/getting-your-authentication-token) 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](https://developer.calendly.com/docs/) to know the possible responses!

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

calendly-1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calendly-1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file calendly-1.1.tar.gz.

File metadata

  • Download URL: calendly-1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using 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.3

File hashes

Hashes for calendly-1.1.tar.gz
Algorithm Hash digest
SHA256 62d4e18c7a0a20ba11186bde50032345495e92040c9a8d22b23954b3c656ca50
MD5 9fb4e0064feae8fcbc2ded2004b0c0f7
BLAKE2b-256 6c0036ca0967f20bfde41fc3f16ce5897a686084fa3ed090c7903241a2efdc71

See more details on using hashes here.

File details

Details for the file calendly-1.1-py3-none-any.whl.

File metadata

  • Download URL: calendly-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using 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.3

File hashes

Hashes for calendly-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a793ff2f52b62894a645fea2371a006f1917d80a5f8c5e3e0e12cfbf56fe812
MD5 b2bc2150bd35cc31d42ed3e0091281a8
BLAKE2b-256 7b3583607891988a95a2c55c3a4368d894ca5320681fb53c68408a81dba85909

See more details on using hashes here.

Supported by

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