KO
|
EN
gitlite β search
Search
#opensource
#ai
#python
#bocaletto-luca
#golang
#chatbot
#javascript
#macos
#linux
#react
#llm
#docker
info-bot
β 45
Open GitHub β
π€ A Versatile Telegram Bot
Download README (.md)
Explore Similar Repositories
OnlineSimBot
:
Virtual Number bot for Telegram which uses OnlineSim's free virtual numbers
atlink
:
π A telegram bot that turns @ links into instagram links both in private chats and groups. Source code for: https://youtu.be/jhFsFZXZbu4
stock_price_4_fun
:
Mrzaizai2k Stock Assistant Bot: Your all-in-one stock analysis companion. Calculate payback time, find support/resistance, and receive market warnings.
AnonProxies
:
Proxy scraper bot to Scrape and send proxies to Telegram topics automatically
wikibot
:
A :robot: which provides features from Wikipedia like summary, title searches, location API etc.
// repository documentation
Was this content helpful?
β 0
(0 ratings)
Select Rating:
β
β
β
β
β
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
info-bot
?
Download (.md)
# InfoBot π€ An all-round bot made to learn Python <br /> [Telegram link](https://t.me/info2019_bot) or @info2019_bot <br /> Bot is deployed on Heroku, so it might sleep after 30 mins of being inactive but could wake up (big delay around 30 secs) <br /> If you want to access the bot ask me and i'll launch it locally<br /> If bot is not working or you found a bug - please contact me in telegram @irevenko # This bot is written using βοΈ * [pyTelegramBotAPI](https://github.com/eternnoir/pyTelegramBotAPI) * [pyowm](https://github.com/csparpa/pyowm) * [coinbase](https://gist.github.com/chris-gong/b24130f5ea0c6c93e3c24bfb4aca27fd) * [bs4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) + [requests](https://requests.readthedocs.io/en/master/) (for scrapping the Monero coin price & current time scrapping & stocks scrapping & news scrapping) * [googletrans](https://pypi.org/project/googletrans/) # What can this bot doβ * Display current weather forecast π * Display current world time at any place β² * Display current crypto coins price πΈ * Display current top companies stocks price π * Display latest BBC news π° * Translate from English π # Screenshots πΈ | | | | |:---:|:---:|:---:| |<img src="https://i.imgur.com/6SvV1uH.png" width="275">|<img src="https://i.imgur.com/ncleleT.png" width="275">|<img src="https://i.imgur.com/HohkaKi.png" width="275">| |Start & Help & Keyboard|Time & Weather|Crypto| <img src="https://i.imgur.com/yFqudtu.png" width="275">|<img src="https://i.imgur.com/sLCDNrQ.png" width="275">|<img src="https://i.imgur.com/3uLkArO.png" width="275">| |Stocks|News|Translator # Quick Start π ``` Register your bot at @BotFather in Telegram and add commands``` <br /> ```Get API key at openweathermap.org ``` <br /> ``` git clone https://github.com/irevenko/InfoBot.git``` <br /> ```cd InfoBot ``` <br /> ```pip install requirements.txt ``` <br /> ```OR```<br /> ```python -m pip install -r requirements.txt```<br /> ``` go to config.py and fill tokens```<br /> ```BOT_TOKEN = ' '```<br /> ```OWM_TOKEN = ' '```<br /> ```Then you can launch the bot``` ```py bot.py``` # What I Learned π§ * How to work with API's (pyowm) * How to work with JSON's (coinmarket api) * How to scrap a site (yahoo finance + google search for time + BBC news with Beatiful Soup) * How HTTP/HTTPS works * Function Decorators * Lambda Functions * Try Except, Dictionaries, imports * How to deploy on heroku * Polling and web hooks # License π (c) 2020 Ilya Revenko. [MIT License](https://tldrlegal.com/license/mit-license)