This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
forked from splewis/get5-web
-
Notifications
You must be signed in to change notification settings - Fork 10
API
PhlexPlexico edited this page May 7, 2019
·
2 revisions
This page is currently under maintenance.
This page has all the calls listed within the api.py
file. Most of these calls include direct interaction with the GameServer, via get5_apistats
.
METHOD | URI | REQUEST VALUES | DESCRIPTION | RESPONSE |
---|---|---|---|---|
POST | /match/int:matchid/finish | key, winner, forfeit, | Finishes the match with a given ID. | Text returning 'Success' |
POST | /match/int:matchid/map/int:mapnumber/start | key, map, mapnumber, | Starting match with a map. | Text returning 'Success' |
POST | /match/int:matchid/map/int:mapnumber/update | key, team1score, team2score, | Updating match with score, e.g: 16-14 to Team1 | Text returning 'Success' |
POST | /match/int:matchid/vetoUpdate | key, map, veto | Updating vetomap progress(pick or veto) | Text returning 'Success' |
POST | /match/int:matchid/map/int:mapnumber/finish | key, winner, forfeit, | Finishes the match with a given TEAM. | Text returning 'Success' |
POST | /match/int:matchid/map/int:mapnumber/player/<steamid64>/update | key, steamid64, stats, | Updating steamID64's player incl stats | Text returning 'Success' |