{"id":15067886,"url":"https://github.com/crespo/task-to-google-calendar","last_synced_at":"2026-01-02T23:06:23.055Z","repository":{"id":256458454,"uuid":"855358064","full_name":"crespo/task-to-google-calendar","owner":"crespo","description":"API to create and delete tasks and events integrated with Google Calendar and Google Tasks APIs","archived":false,"fork":false,"pushed_at":"2024-10-15T13:27:26.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T18:24:46.299Z","etag":null,"topics":["django","django-rest-framework","google-api","google-calendar","google-calendar-api","google-calendar-integration","google-tasks","google-tasks-api","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crespo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-09-10T18:28:22.000Z","updated_at":"2024-10-15T13:27:31.000Z","dependencies_parsed_at":"2024-11-22T05:15:25.397Z","dependency_job_id":null,"html_url":"https://github.com/crespo/task-to-google-calendar","commit_stats":{"total_commits":80,"total_committers":1,"mean_commits":80.0,"dds":0.0,"last_synced_commit":"06d171cef1900f1718c3b47333f6d21b346cf698"},"previous_names":["crespo/task-to-google-calendar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crespo%2Ftask-to-google-calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crespo%2Ftask-to-google-calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crespo%2Ftask-to-google-calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crespo%2Ftask-to-google-calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crespo","download_url":"https://codeload.github.com/crespo/task-to-google-calendar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354850,"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":["django","django-rest-framework","google-api","google-calendar","google-calendar-api","google-calendar-integration","google-tasks","google-tasks-api","python"],"created_at":"2024-09-25T01:28:47.185Z","updated_at":"2026-01-02T23:06:22.971Z","avatar_url":"https://github.com/crespo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task to Google Calendar (Events too ✨)\n## Description\nThis project was initially made for a internship challenge, but I plan to update it and implement new features whenever I feel in the mood to do so.\n\nIt features a complete CRUD of tasks and events based on Google Calendar standards, also it synchronizes the tasks and events with your personal Google Calendar agenda, so when you create and delete a individual task or event, it'll be required to login with a Google account and then the API will create the task or event for you automatically.\n## Tech Stack\nTo achieve all of this, it was used Python as the base programming language, Django and Django Rest Framework (a.k.a. DRF) as frameworks to help building the API, [Google Calendar API](https://developers.google.com/resources/api-libraries/documentation/calendar/v3/python/latest/index.html) and [Google Tasks API](https://developers.google.com/resources/api-libraries/documentation/tasks/v1/python/latest/index.html) with all the JWT authentication necessary to integrate with Google's endpoints and Swagger UI to make a quick beautiful API documentation page.\n## Installation\n### Requirements\n| Resource | Link | Recommended Version |\n| :------: | :--: | :-----: |\n| Python | [Python's official download page](https://www.python.org/downloads/) | 3.12+ |\n| Pip | [Pip's official documentation](https://pip.pypa.io/en/stable/installation/) | 24.2+ |\n| Git | [Git's official download page](https://git-scm.com/downloads) | any |\n### Install\nOpen a ```Terminal``` instance and then follow these steps:\n```\n$ git clone https://github.com/crespo/task-to-google-calendar.git\n$ cd task-to-google-calendar/\n$ python -m venv env\n$ source env/bin/activate\n$ pip install -r requirements.txt\n$ cd taskmaker/\n$ python manage.py makemigrations api\n$ python manage.py migrate api\n$ python manage.py runserver\n```\nAfter successfully running the server, do the [Set up your environment](https://developers.google.com/calendar/api/quickstart/python#set-up-environment) tutorial from Google's API activation tutorial and import the ```credentials.json``` to both ```./taskmaker/api/creds/google-calendar/``` and ```./taskmaker/api/creds/google-tasks/``` directories and you're good to go!\n## Usage\nYou can check [localhost:8000/swagger/](http://localhost:8000/swagger/) to see available endpoints.\n\n```POST``` example to ```/api/v1/events/``` endpoint:\n```json\n{\n  \"summary\": \"This will be the title of the event\",\n  \"date\": \"2024-09-14\",\n  \"description\": \"This will represent the event's description\",\n  \"time_start\": \"08:00:00.00-0300\",\n  \"time_end\": \"08:30:00.00-0300\"\n}\n```\n- The ```description```, ```time_start``` and ```time_end``` fields are optionals.\n- ```date``` field should accept ```yyyy-mm-dd``` format.\n- ```time_start``` and ```time_end``` should accept [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) format where ```-0300``` in the example above represents the GMT -3 timezone.\n\n```POST``` example to ```/api/v1/tasks/``` endpoint:\n```json\n{\n  \"title\": \"This will be the title of the task\",\n  \"date\": \"2024-09-14\",\n  \"notes\": \"This will represent the task's description\",\n  \"time\": \"08:00:00.00-0300\"\n}\n```\n- The ```notes``` and ```time``` fields are optionals.\n- ```date``` field should accept ```yyyy-mm-dd``` format.\n- Note that even though ```time``` field is implemented in this API, it doesn't work. It's there just for a possible future update of Google Tasks' API. [See the reason here](https://issuetracker.google.com/issues/166896024).\n\n| ```GET``` examples to filter by text: |\n| :------------------------------------ |\n| ```{...}/api/v1/events?search=example``` |\n| ```{...}/api/v1/tasks?search=example``` |\n\n\n| ```GET``` examples to filter by date: |\n| :------------------------------------ |\n| ```{...}/api/v1/events/{start_date}/{end_date}/``` |\n| ```{...}/api/v1/tasks/{start_date}/{end_date}/``` |\n| PS.: Dates takes the form of ```yyyy-mm-dd```. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrespo%2Ftask-to-google-calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrespo%2Ftask-to-google-calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrespo%2Ftask-to-google-calendar/lists"}