ScrappyTwitch is a Python application that acts as a Twitch bot, gathering information about online streamers and storing it in a database.
- Python (>=3.12)
- Poetry
- Twitch API Client ID and Secret
- MongoDB
-
Clone the repository:
git clone https://github.com/dbatalha/ScrappyTwitch.git cd ScrappyTwitch
-
Install project dependencies using Poetry:
poetry install
-
Obtain Twitch API credentials:
- Register a new application on the Twitch Developer Portal.
- Note the Client ID and Client Secret.
-
Configure the application:
- Edit the file "scrappy_bot/resources/config.ini"":
- Replace the {CLIENT_ID} with your application key and secret;
[Twitch] client_id = {CLIENT_ID} client_secret = {CLIENT_SECRET} grant_type = client_credentials [Database] mongodb_connection = {CONNECTION}
Run the ScrappyTwitch application:
python start.py