/hltv-api

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

Primary LanguagePythonMIT LicenseMIT

hltv-api

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

Instalation

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

@app.route("/top_teams", methods=["GET"])

image

Team

@app.route("/team/<name>", methods=["GET"])

image

Results

@app.route("/results", methods=["GET"])

image

Upcoming matches

@app.route("/upcoming_matches", methods=["GET"])

image