Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makushatnik/travelbot
Bot for choosing hotels around the world (Hotels.com API)
https://github.com/makushatnik/travelbot
Last synced: 25 days ago
JSON representation
Bot for choosing hotels around the world (Hotels.com API)
- Host: GitHub
- URL: https://github.com/makushatnik/travelbot
- Owner: makushatnik
- Created: 2023-07-25T16:29:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-01T09:56:34.000Z (over 1 year ago)
- Last Synced: 2023-08-01T11:15:46.936Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: history.py
Awesome Lists containing this project
README
## Travel Bot
### Commands
- start - Запуск бота. Показать кнопку "help"
- help - Показать список доступных команд
- lowprice - Узнать топ самых дешевых отелей в городе
- highprice - Узнать топ самых дорогих отелей в городе
- bestdeal - Узнать топ отелей, наиболее подходящих по цене и расположению от центра
- history - Узнать историю поиска отелей
### Settings
You need your own Telegram API token.\
Also you need to be registered at the [Rapidapi.com](https://rapidapi.com/apidojo/api/hotels4/). You need to get host & api key there.When all preparations are done, you should do this steps:
1. Clone the repository,
2. Activate Virtual Environment in the project,
3. Create file .env with following variables:
* BOT_TOKEN
* RAPID_API_KEY
4. Type the commands:
```
pip install -r requirements.txt
python main.py
```