Get player list.
GEThttp://localhost:8212/v1/api/players
To get the player list.
Request
Responses
- 200
- 400
- 401
The player list.
- application/json
- Schema
- Example (from schema)
Schema
players
object[]
{
"players": [
{
"name": "PalUser",
"playerId": "AFAFD830000000000000000000000000",
"userId": "steam_00000000000000000",
"ip": "127.0.0.1",
"ping": 3.14,
"location_x": 123.45,
"location_y": 67.89,
"level": 1
}
]
}
Request error.
Unauthorized.
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'http://localhost:8212/v1/api/players' \
-H 'Accept: application/json'
ResponseClear