https://github.com/imshawan/yourclassesbot
https://github.com/imshawan/yourclassesbot
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/imshawan/yourclassesbot
- Owner: imshawan
- Created: 2020-11-15T06:24:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-15T07:17:39.000Z (over 4 years ago)
- Last Synced: 2025-01-23T13:43:53.405Z (3 months ago)
- Language: Python
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YourClassesBot
**YourClassesBot** is a Python Automation Script that can access your timetable from a file named "my_timings.py" and send you text alert on telegram about your classes. This can be real handy, if you don't wanna check your timetables daily.
## Required Packages
Import the packages.
```bash
import requests
from time import sleep
from datetime import datetime
```## Add your timetable
You need to add your timetable to the file named "my_timings.py"## Usage
```python
import my_timingsTOKEN = "Your Telegram Bot Token" #Enter your Telegram Bot Token Here.
...
if get_time == '11:00': #Enter the time you want to get the alerts
...
chat_id = "Chat ID" # Alert RECEIVER's Chat ID
```
And you're good to go! You can also deploy your script to cloud and get alerts forever.## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.
## License
**N/A**\
The code is free to copy and you can use it as the way you like. Thanks for viewing my work.