{"id":19640171,"url":"https://github.com/gearplug/tidycal-python","last_synced_at":"2026-06-05T20:32:06.381Z","repository":{"id":212332172,"uuid":"730994089","full_name":"GearPlug/tidycal-python","owner":"GearPlug","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-28T14:46:47.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-26T22:44:38.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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":"2023-12-13T06:00:32.000Z","updated_at":"2023-12-13T16:09:53.000Z","dependencies_parsed_at":"2025-01-10T10:53:54.182Z","dependency_job_id":null,"html_url":"https://github.com/GearPlug/tidycal-python","commit_stats":null,"previous_names":["gearplug/tidycal-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GearPlug/tidycal-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Ftidycal-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Ftidycal-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Ftidycal-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Ftidycal-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GearPlug","download_url":"https://codeload.github.com/GearPlug/tidycal-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Ftidycal-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33959537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-11T14:04:56.500Z","updated_at":"2026-06-05T20:32:06.350Z","avatar_url":"https://github.com/GearPlug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# tidycal-python\n![](https://img.shields.io/badge/version-0.1.4-success) ![](https://img.shields.io/badge/Python-3.8%20|%203.9%20|%203.10%20|%203.11-4B8BBE?logo=python\u0026logoColor=white)  \n\n*tidycal-python* is an API wrapper for Tidycal, written in Python.  \nThis library uses Oauth2 for authentication.\n## Installing\n```\npip install tidycal-python\n```\n### Usage\n```python\nfrom tidycal.client import Client\nclient = Client(client_id, client_secret, redirect_uri=redirect_uri)\n```\nTo obtain and set an access token, follow this instructions:\n1. **Get authorization URL**\n```python\nurl = client.authorization_url(state=None)\n# This call generates the url necessary to display the pop-up window to perform oauth authentication\n# param state(code) is required for direct request for oauth, for local test isn't necessary\n```\n2. **Get access token using code**\n```python\ntoken = client.get_access_token(code)\n# \"code\" is the same response code after login with oauth with the above url.\n```\n\n3. **Refresh access token using refresh_token**\n```python\ntoken = client.refresh_access_token(refresh_token)\n# \"refresh_token\" is the token refresh in response after login with oauth with the above url.\n```\n\n#### - Get current user\n```python\nclient.get_current_user()\n```\n#### - List of Bookings\n```python\nclient.list_bookings(starts_at=None, ends_at=None, cancelled=None, page=None)\n# Receives only one parameter at a time\n# starts_at = DATE, Get bookings starting from a specific date.\n# ends_at = DATE, Get bookings ending before a specific date.\n# cancelled = BOOLEAN, Get only cancelled bookings.\n# page = NUMBER, Page number.\n```\n#### - List of Booking Types\n```python\nclient.list_booking_types()\n```\n#### - List of Contacts\n```python\nclient.list_contacts()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Ftidycal-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgearplug%2Ftidycal-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Ftidycal-python/lists"}