Skip to content

ESports Match Tracker Bot & API gives you information of upcoming/ongoing tournament matches of Valorant, Counter Strike and Dota2. It scrapes data from Internet Gaming sites using Beautiful Soup ,Selenium and headless Chrome.

Notifications You must be signed in to change notification settings

saifkwik/ESports-Match-Tracker-Service

Repository files navigation

ESports-Matches-Tracker :

This API gives you information of upcoming/ongoing tournament matches of Valorant, Counter Strike and Dota2. It scrapes data from Internet Gaming sites using Beautiful Soup and Selenium .

Match-Tracker BOT (telegram-Bot) :

Based on the App this Bot fetches data from API and displays result in the telegram app.

alt text

API Installation

  • clone the repo and type uvicorn api_match_tracker:app --reload in the terminal directory.
    • pip install requirements.txt
  • Open 127.0.0.1:8000 in the Browser.

Data Crawler Function installation in Docker :

  • Uncomment the lines in
    • db_update.py
    • cs_matches_list.py
    • cs_time_list.py
    • valo_matches_list.py
    • dota2_matches_list.py
    • dota2_time_list.py
  • and change your MySQL logging info in database.py
  • docker build -t db-update .
  • docker run --network bridge -p 8000:8000 -v logs:/match-tracker/api_esports_matches/logs db-update

Usage

ESports Matches Tracker Bot

Start conversation with /start
*/valo ~ To get Valorant matches
*/cs ~ To get Counter Strike matches
*/dota2 ~ To get Dota2 matches

API Run

http://127.0.0.1:8000/valo?match_index='(Enter number of matches info you want to view (max<15))',
http://127.0.0.1:8000/dota2?match_index='(Enter number of matches info you want to view (max<15))',
http://127.0.0.1:8000/cs?match_index='(Enter number of matches info you want to view (max<15))' to :

  • Get list of Ongoing and Upcoming matches sorted with their time.

alt text

alt text

About

ESports Match Tracker Bot & API gives you information of upcoming/ongoing tournament matches of Valorant, Counter Strike and Dota2. It scrapes data from Internet Gaming sites using Beautiful Soup ,Selenium and headless Chrome.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published