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 |
||
(2 intermediate revisions by 2 users not shown) | |||
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.warzone.com/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. |
Latest revision as of 19:06, 3 August 2018
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.warzone.com/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.