esports

Global Sports Open source · MIT Read-only 6 commands 191 installs

Esports data — Dota 2 (OpenDota) and League of Legends esports (Leaguepedia).

View source

About

Esports data — Dota 2 (OpenDota) and League of Legends esports (Leaguepedia). Pro matches, tournaments, teams, and structured LoL competitive data.

Commands 6

get_pro_matches
[--limit][--less_than_match_id]

Latest Dota 2 pro matches, newest first; page back with less_than_match_id (OpenDota)

get_leagues
[--tier][--limit]

Dota 2 leagues/tournaments, newest first, filter by tier (OpenDota)

get_pro_teams
[--limit]

Top Dota 2 teams by rating (OpenDota)

get_match
--match_id

Detailed Dota 2 match by id (OpenDota)

get_lol_tournaments
[--region][--limit]

LoL esports tournaments starting since the 1st of the month two months back, newest first (Leaguepedia)

lol_cargo_query
--tables--fields[--where][--order_by][--group_by][--limit]

Raw Leaguepedia Cargo query (any table/fields)

Quick Start

# CLI
sports-skills esports get_pro_matches
# Python
from sports_skills import esports
esports.get_pro_matches()