Game ID feed API: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
The ID of the [[1v1 ladder]] is 0, and the ID of the [[2v2 ladder]] is 1. | The ID of the [[1v1 ladder]] is 0, and the ID of the [[2v2 ladder]] is 1. | ||
For example, you can call | For example, you can call https://www.warlight.net/API/GameIDFeed?LadderID=0 to get all of the game IDs for the [[1v1 ladder]]. | ||
To get a tournament ID, open up the tournament in the normal game GUI and click the Tournament Settings button. You will find the tournament ID under the 'Link' field. | To get a tournament ID, open up the tournament in the normal game GUI and click the Tournament Settings button. You will find the tournament ID under the 'Link' field. |
Revision as of 00:24, 19 December 2014
The Game ID feed API can be used to get all of the game IDs for a ladder or tournament. These are used to pass to the Query game API.
Usage
This feed can be passed either a TournamentID or a LadderID. Pass these as GET parameters, such as ?TournamentID=1234 or ?LadderID=1.
The ID of the 1v1 ladder is 0, and the ID of the 2v2 ladder is 1.
For example, you can call https://www.warlight.net/API/GameIDFeed?LadderID=0 to get all of the game IDs for the 1v1 ladder.
To get a tournament ID, open up the tournament in the normal game GUI and click the Tournament Settings button. You will find the tournament ID under the 'Link' field.