Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello! This bot is designed to be able to find information about hotels
in any city thanks to a request to the Rapidapi website

The project is divided into 3 parts
1 Database queries
2 API requests and write hotels to database
3 main.py file that manages the whole project.

We have 4 commands.
Lowprice
Highprice
Bestdeal
History

Lowprice : For this command, you can display information about the cheapest hotels
Highprice: With this command, you can display information about the most expensive hotels
Bestdeal: With this command, you can display information about hotels according to user-specified parameters
History: With this command, you can display information about user requests

We have log file for understanding errors
database - Sqlite3
File database.py will help you got faster database requests


You must create .env file with
.env KEY=YOUR_BOT_KEY key from Telegram
.env RAPIDAPI_KEY=YOUR_RAPIDAPI_KEY key from rapidapi/hotels

About

The TelegramBot project is designed to find information about hotels in various cities using the RapidAPI service. It is structured into three main components: database queries, API requests, and a main script to manage the bot's operations. The bot supports many commands

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages