Game ID feed API: Difference between revisions
Jump to navigation
Jump to search
Created page with "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..." |
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 http://warlight.net/ | For example, you can call http://warlight.net/API/GameIDFeed.aspx?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 05:35, 9 October 2011
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 http://warlight.net/API/GameIDFeed.aspx?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.