Appearance
Get players online list
Optional This APIs use to check ONLINE (playing) players under your agent.
Authorization
Seamless uses Basic Authentication with your agent credentials. (Authentication)
HTTP Request
GET {{ API_URL }}/seamless/checkOnlinePlayerList?productId={{ productId }}Supported products
| Product ID | Product Name |
|---|---|
PGSOFT | PG Soft |
Request parameter description
| Property | Type | Required | Description |
|---|---|---|---|
productId | string | Required | Product ID (Ref. Product List)) (Example : PGSOFT) |
Response parameter description
| Property | Type | Required | Description |
|---|---|---|---|
reqId | string | Required | Request ID for each request. |
code | number | Required | Code status0: success1: failed. |
message | string | Required | Message description |
data | object | Required | An array of transaction data description (See more below). |
Response data parameter description
| Property | Type | Required | Description |
|---|---|---|---|
users | string[] | Required | Online players list |
JSON example request:
json
{
"productId": "PGSOFT"
}JSON example response:
json
{
"reqId": "d3921d76-0488-4ca1-b65d-0093f410ea63",
"code": 0,
"message": "Success",
"data": {
"users": ["foobar", "barfoo"]
}
}