For snowboarders, we always hope to know some data about ski resorts, such as the amount of snowfall, the opening date, the ticket prices.
For our convenience, I created a chatbot named SkiBot for querying those data with user messages in real-time. As you can see as follows:
Here's the functionality that SkiBot has:
- Query the real-time forecast weather data in a particular ski resort on a particular date. The forecast data supports the future five days from now on. The weather feature includes:
* weather - (desciption)
* snowfall - (inch)
* rainfall - (inch)
* visibility - (mile)
* Humidity Level - (%)
* Temperature - (F)
* Wind Speed - (mph)
- Quering the real-time operating data in a particular ski resort. The operating feature includes:
* status - (currently open / closed)
* open date - (open date)
* close date - (closed date)
* number of lifts - (number of lifts)
* ticket price - (including adult, youth and child prices)
* rating - (the rating of the resort)
* location
- Telegram Bot API
- Ski Resort API
- Python Request Library
- Python Datetime Library
- Python Urllib.request Library
- Python Dateutil.parser Library
- Python Web Scraping
Python @3.10 requests telegram bot api urllib dateutil
pip install requests
pip install python-telegram-bot
pip install urllib3
pip install dateutils
- Clone the repo
git clone https://github.com/Kaicheng1995/SkiBot- Run the program
python main.py
- Open SkiBot
open Telegram App and search the account "@proj_skibot", add it
- Start to talk
type "/help" to get instructions and start to talk

