Game ID feed API

From WarLight Wiki
Jump to: navigation, search

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.

[edit] 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.

[edit] See Also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox