Skip to main content

Python wrapper for Calendly API v2

Project description

PyCalendly

CircleCIDownloads

Python package to use Calendly API-v2.

Installation

Install with pip

$ pip install PyCalendly

Usage

Getting Started

See Getting Started with Calendly API and get a Personal Access token.

from calendly import CalendlyAPI
api_key = "<Personal Access Token>"
calendly = CalendlyAPI(api_key)

Webhooks

  • create_webhook - Create new Webhook subscription
  • list_webhooks - List available Webhook subscriptions
  • delete_webhook - Delete a previously subscribed webhook
  • get_webhook - Get information about a specific webhook

User

  • about - Basic information about the current user

Events

  • event_types - Returns all event types associated with the event
  • get_event_type - Get type associated with the specific event
  • list_events - Returns available list of events
  • get_event_invitee - Returns invitee information associated with the event
  • get_event_details - Get information about the event
  • list_event_invitees - Get all invitees for a event

Oauth2

Getting started with Calendly Oauth2 API .

from calendly import CalendlyOauth2

client_id = "<client_id>"
client_secret = "<client_secret>"
redirect_uri = "<redirect_uri>"

oauth2 = CalendlyOauth2(
    client_id,
    client_secret,
    redirect_uri
)

Methods

  • authorization_url - Returns the formatted authorization URL
  • get_access_token - Send a request to obtain the given access token
  • revoke_access_token - Send a request to revoke the given access token
  • refresh_access_token - Send a request to refresh the given access token
  • introspect_access_token - Send a request to bring details about the given access token

Issues

Feel free to submit issues and enhancement requests.

Contributing

In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Licensing

MIT License

Copyright (c) 2021 laxmena

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Citations:

Following modules are used as reference to build this package

Visitor

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

pycalendly-1.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

pycalendly-1.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file pycalendly-1.1.0.tar.gz.

File metadata

  • Download URL: pycalendly-1.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pycalendly-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d26a61f2e0726fceeb457b10dab7dea2b637c0c370d4ea8875d090a6dc84988e
MD5 433c0ff6d5c6b7c84c9e0bf7e8a84fdc
BLAKE2b-256 47eece66437a2c2619ebc85a57e6eb5768692a53365f2c693a4c9a4b696fe470

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycalendly-1.1.0.tar.gz:

Publisher: publish.yml on laxmena/PyCalendly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pycalendly-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pycalendly-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pycalendly-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c94456138defcdf87bafe366e0908846e449b624c9bbe93fc53eb77ba5dbd5a
MD5 7f49c7e09031499424b4d375801362bb
BLAKE2b-256 3bc4cd27a486ff06bfdfb961f31cdbf9f206e34df92a2788d5dbac738e185967

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycalendly-1.1.0-py3-none-any.whl:

Publisher: publish.yml on laxmena/PyCalendly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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