Skip to content

akbarajou/recipe-finder-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Recipe Finder Bot

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.

Features

  • 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.

Requirements

  • Python 3.10.12
  • aiogram library version 2.25.1
  • requests library

Installation

  1. Clone this repository:
    git clone https://github.com/yourusername/recipe-finder-bot.git
    cd recipe-finder-bot
    
  2. Create and activate a virtual environment (optional but recommended):
    python3 -m venv venv
    source venv/bin/activate
    
  3. Install the required libraries:
    pip install -r requirements.txt
    
  4. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages