An unofficial python flask api for popular CS2 website hltv.org.
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
@app.route("/top_teams", methods=["GET"])
@app.route("/team/<name>", methods=["GET"])
@app.route("/results", methods=["GET"])
@app.route("/upcoming_matches", methods=["GET"])