Find My Dinner
Prerequisites
pip install python-telegram-bot -U --pre
- Register a telegram account
- Create your bot
- Talk to BotFather
- Use
/newbot
command to create new bot and get your token
- Create your own API key for map service following the step here
- In
./config.ini
, replaceyour_token
andyour_api_key
with your owns (without quotation marks) python3 main.py
, and you can talk to you bot on Telegram.
/findfood
command
- The command allow you to find food according to the bot's recommandation or directly search for the desired food
- For the related package installations, see the comments at the beginning of
./food_search.py
- Send the command as following (it's suggested to input food_name using Taiwanese characters):
/findfood [food_name]