Skip to content

M3MONs/hltv-scrapper-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hltv-api

An unofficial python flask api for popular CS2 website hltv.org.

Installation

Prerequisites: Python 3.x (check with python --version or python3 --version)

git clone https://github.com/M3MONs/hltv-api.git
cd hltv-api
pip install -r requirements.txt
python app.py

Examples

Top teams (ranking)

GET /api/v1/teams/rankings

Returns the HLTV or VALVE team ranking. ranking

Team Search

GET /api/v1/teams/search/<name>

Searches for a team by name.

Team Profile

GET /api/v1/teams/<id>/<team_name>

Returns the team profile.

Team matches

GET /api/v1/teams/<id>/matches
GET /api/v1/teams/<id>/matches/<offset>

Returns a list of team matches (optionally with an offset).

Results

GET /api/v1/results/
GET /api/v1/results/<offset>

Returns the results of HLTV matches. results

Featured Results

GET /api/v1/results/featured

Returns featured results. results_featured

Upcoming matches

GET /api/v1/matches/upcoming

Returns upcoming matches.

Match details

GET /api/v1/matches/<id>/<match_name>

Returns details of the selected match.

Player Search

GET /api/v1/players/search/<name>

Searches for a player by name.

Player Profile

GET /api/v1/players/<id>/<player_name>

Returns the player profile.

About

An unofficial python scrapper and flask api for popular CS2 website hltv.org.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages