Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 17 days ago
JSON representation

Tạo Thời Khoá Biểu University Of Transport And Communication

Awesome Lists containing this project

README

        

# Contact:
- **Mail**: *[email protected]*
- **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)