This is a Telegram bot that finds recipes based on ingredients provided by the user. The bot uses the Spoonacular API to fetch recipe suggestions.
- Responds to the
/start
command with a welcome message. - Takes a list of ingredients as input and returns up to 5 recipe suggestions.
- Provides recipe titles and links to the full recipes.
- Python 3.10.12
aiogram
library version 2.25.1requests
library
- Clone this repository:
git clone https://github.com/yourusername/recipe-finder-bot.git cd recipe-finder-bot
- Create and activate a virtual environment (optional but recommended):
python3 -m venv venv source venv/bin/activate
- Install the required libraries:
pip install -r requirements.txt
- Replace TELEGRAM_BOT_TOKEN and SPOONACULAR_API_KEY with your token and API
Note: You can get a Spoonacular API key by signing up at spoonacular API.
Note: You can get a Telegram bot token by creating a new bot using the BotFather.
Developed by: Akbar Tangirov