{"id":19640188,"url":"https://github.com/gearplug/calendly-python","last_synced_at":"2025-04-30T05:23:36.930Z","repository":{"id":65142793,"uuid":"581291689","full_name":"GearPlug/calendly-python","owner":"GearPlug","description":"calendly-python is an API wrapper for Calendly, written in Python","archived":false,"fork":false,"pushed_at":"2024-03-12T18:15:30.000Z","size":11,"stargazers_count":3,"open_issues_count":3,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-30T13:05:12.089Z","etag":null,"topics":["api","calendar","calendly","events","oauth2","python","webhooks","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GearPlug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-22T19:30:32.000Z","updated_at":"2024-10-24T18:42:31.000Z","dependencies_parsed_at":"2025-01-10T10:53:53.803Z","dependency_job_id":null,"html_url":"https://github.com/GearPlug/calendly-python","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"fe3263d0fcd30197cd80c017ee253c78cc3a283b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcalendly-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcalendly-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcalendly-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcalendly-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GearPlug","download_url":"https://codeload.github.com/GearPlug/calendly-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251646286,"owners_count":21620906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","calendar","calendly","events","oauth2","python","webhooks","wrapper"],"created_at":"2024-11-11T14:04:57.384Z","updated_at":"2025-04-30T05:23:36.900Z","avatar_url":"https://github.com/GearPlug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/version-0.1.1-success) ![](https://img.shields.io/badge/Python-3.8%20|%203.9%20|%203.10%20|%203.11-4B8BBE?logo=python\u0026logoColor=white)\n# calendly-python\n\ncalendly-python is an API wrapper for Calendly, written in Python\n\n## Installing\n```\npip install calendly-python\n```\n## Usage\n```\nfrom calendly.client import Client\nclient = Client('access_token')\n\nuser_uri = client.user_uri\nuser_uuid = client.user_uuid\norganization_uri = client.organization_uri\norganization_uuid = client.organization_uuid\n```\n\nIf you don't have access_token you can get one using Oauth2, following the next steps:\nCheck https://developer.calendly.com/how-to-authenticate-with-oauth, for more info.\n1. Initiate client:\n```\nclient = Client(client_id=\"client_id\", client_secret=\"client_secret\", redirect_uri=\"redirect_uri\")\n```\n2. Get authorization URL to get code\n```\nurl = client.authorization_url()\n```\n3. Get access token using code\n```\nresponse = client.get_access_token(code)\n```\n4. Set access token\n```\nclient.set_token(access_token)\n```\nIf your access token expired, you can get a new one using refresh_token:\n```\nresponse = client.refresh_access_token(refresh_token)\n```\nAnd then set access token again...\n#### Current User\n```\ncurrent_user = client.get_current_user()\n```\n#### Get Scheduled Event\n```\nevent = client.get_scheduled_event(event_uuid)\n```\n### Webhooks\n#### Create webhook\n```\nwebhook = client.create_webhook(self, url, events, organization_uri, user_uri, scope)\n# events: must be a list of valid events (check calendly API)\n# scope: two options: \"user\" or \"organization\"\n```\n#### List webhooks\n ```\nwebhooks = client.list_webhooks(self, scope, organization_uri, user_uri=None)\n# scope: two options: \"user\" or \"organization\"\n# Note: must send user_uri if scope = \"user\"\n```\n#### Delete webhook\n ```\nclient.delete_webhook(webhook_uuid)\n ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fcalendly-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgearplug%2Fcalendly-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fcalendly-python/lists"}