https://github.com/youknow2509/calendar_utc
Tạo Thời Khoá Biểu University Of Transport And Communication
https://github.com/youknow2509/calendar_utc
google google-api google-auth google-calendar google-calendar-api pandas python python3
Last synced: about 1 month ago
JSON representation
Tạo Thời Khoá Biểu University Of Transport And Communication
- Host: GitHub
- URL: https://github.com/youknow2509/calendar_utc
- Owner: Youknow2509
- License: mit
- Created: 2024-08-01T07:53:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-24T15:57:16.000Z (over 1 year ago)
- Last Synced: 2025-02-23T06:44:15.922Z (over 1 year ago)
- Topics: google, google-api, google-auth, google-calendar, google-calendar-api, pandas, python, python3
- Language: Python
- Homepage: https://www.youtube.com/watch?v=iMb0F-DPomo
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Contact:
- **Mail**: *lytranvinh.work@gmail.com*
- **Github**: *https://github.com/Youknow2509*
# Usage:
- Python, lib use in 'requirements.txt'
- Google api, google calendar, ...
# Description:
- Create a calendar create schedule in `UTC`.
- How to activate:
- It read file `data.xlsx` in path `data/data.xlsx`
- Data after creation same: [data.json](https://github.com/Youknow2509/Calendar_UTC/blob/main/data/data.json)
- Use api google calendar create event
# How to use:
- [Enable google calendar api](https://support.google.com/googleapi/answer/6158841?hl=en) :
- **Note:**
- Choses `SCOPES` use in google console. (Ex: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.events)
- Add **Authorized redirect URIs** in your project.(Ex: my red url in code: http://localhost:3300/oauth2callback)
- Install `requirements.txt`:
```python
pip install -r requirements.txt
```
- Get Client Secrets in google console and save file `client_secrets.json` in path `src/gg_auth/`
- Create file 'credentials.json' in path `src/gg_auth`
- Oauth 2 get credentials
- -> ok !!! run
```python
python src/main.py
```
# Video Demo:
- [Video](https://youtu.be/iMb0F-DPomo)