Python package to use Calendly API-v2.
Install with pip
$ pip install PyCalendly
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)
create_webhook
- Create new Webhook subscriptionlist_webhooks
- List available Webhook subscriptionsdelete_webhook
- Delete a previously subscribed webhookget_webhook
- Get information about a specific webhook
about
- Basic information about the current user
event_types
- Returns all event types associated with the eventget_event_type
- Get type associated with the specific eventlist_events
- Returns available list of eventsget_event_invitee
- Returns invitee information associated with the eventget_event_details
- Get information about the eventlist_event_invitees
- Get all invitees for a event
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
)
authorization_url
- Returns the formatted authorization URLget_access_token
- Send a request to obtain the given access tokenrevoke_access_token
- Send a request to revoke the given access tokenrefresh_access_token
- Send a request to refresh the given access tokenintrospect_access_token
- Send a request to bring details about the given access token
Feel free to submit issues and enhancement requests.
In general, we follow the "fork-and-pull" Git workflow.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- 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!
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.
Following modules are used as reference to build this package