É um bot do Telegram desenvolvido em Python que fornece informações sobre filmes e séries, utilizando a API do The Movie Database (TMDb).
Antes de começar, certifique-se de ter os seguintes requisitos instalados:
- Python 3.6 ou superior
- Pip (gerenciador de pacotes do Python)
- Um token de API do Telegram (obtenha um aqui)
- Uma chave de API do The Movie Database (TMDB) (obtenha uma aqui)
- Clone o repositório:
git clone https://github.com/seu-usuario/imdBot.git
Ou faça o download do arquivo imdBot.zip
cd imdBot
venv\Scripts\activate
source venv/bin/activate
pip install requests
pip install urllib3
pip install python-dotenv
pip install --upgrade python-telegram-bot
pip install python-telegram-bot --upgrade
pip install -r requirements.txt
TMDB_API_KEY=your_tmdb_api_key
Certifique-se de substituir your_tmdb_api_key
pelas suas chaves de API do The Movie Database (TMDb) e do Telegram Bot, respectivamente.
python imdBot.py
Agora o bot está pronto para uso!
/start
: Inicie o bot no Telegram clicando em /start./tools
: Exibe uma lista de ferramentas disponíveis./info
: Mostra informações sobre o desenvolvedor./restart
: Reinicia o bot.
Para obter informações sobre um filme ou série, digite @ seguido pelo nome desejado.
Contribuições são bem-vindas! Sinta-se à vontade para abrir issues, pull requests ou reportar bugs.
Se por acaso você adora este projeto, deixe uma estrela no repo.
Para mais informações, entre em contato com o desenvolvedor @tifodao.
Este projeto é licenciado sob a Licença MIT.
MIT License
Copyright (c) [2023] [Diego Melo]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.