Getting all the players

The players are divided evenly into two squads: East and West, and can be requested by squad. There are a total of 32 players.

GET /players

This will return an array in json of all the "players".

GET /east

This will return an array of only those players in the East.

GET /west

This will return an array of only those players in the West.

Getting a subset of players

Each of these endpoints will by default, return one an array of one random player. Each endpoint takes an optional query parameter n which takes a number of players to return. The players will always be shuffled. No matter what value you give to n, you will only get the max number of players in each squad.

GET /player

Return n or 1 random player.

GET /east/player

Return n or 1 random player from the East.

GET /west/player

Return n or 1 random player from the West.

Getting a single player

GET /:id

Where :id is the id of a particular player.

Getting only avatars

In addition to the image paths provided for each player, you can request a random player avatar.