API Queries

In the example below, it’s asssumed that the the variables token and user_id are set (see Authentification page).

List available games:

curl -X GET -H "Authorization: Bearer $token" \
https://api.signality.com/v4/games

This will return a JSON document containing a list of games, each one with an identifier id as described here.

Get information about phases in a game:

curl -X GET -H "Authorization: Bearer $token" \
https://api.signality.com/v4/games/$game_id/phases

This will return a JSON document containing a list of phases for the game, each one with an identifier id as described here.

Download events data for phase 1:

curl -s -X GET -H "Authorization: Bearer $token" -H "Accept: application/gzip" \
https://api.signality.com/v4/games/$game_id/phases/1/events > events.json.gz

This will return a JSON document containing a list of events for phase 1 as described here.

Download tracks data for phase 1:

curl -s -X GET -H "Authorization: Bearer $token" -H "Accept: application/gzip" \
https://api.signality.com/v4/games/$game_id/phases/1/tracks > tracks.json.gz

This will return a JSON document containing a list of tracks for phase 1 as described here.

Download stats data for phase 1:

curl -s -X GET -H "Authorization: Bearer $token" -H "Accept: application/gzip" \
https://api.signality.com/v4/games/$game_id/phases/1/stats > stats.json.gz

This will return a JSON document containing a list of stats for phase 1 as described here.