{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","settings":"","examples":{"codes":[]},"method":"post","results":{"codes":[]},"params":[{"name":"action","type":"string","default":"getOnlinePlayers","desc":"","required":true,"in":"body","ref":"","_id":"5576ce833c8a63170043521e"},{"name":"siteId","type":"int","default":"2","desc":"OPTIONAL","required":false,"in":"body","ref":"","_id":"5576ccf607e7110d0010429a"},{"name":"localeISO639_ISO3166","type":"string","default":"da-DK","desc":"OPTIONAL","required":false,"in":"body","ref":"","_id":"5576ccf607e7110d0010429b"}]},"next":{"description":"","pages":[]},"title":"getOnlinePlayers","type":"endpoint","slug":"getonlineplayers","excerpt":"This action return the number of players currently online in different games.<br>If locale is present it will be used. If not partner default locale will be used. If siteId is present it will be used to lookup gameName else default gameName will be used.","body":"","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e81","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Insights API","slug":"data-access-api","order":2,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e58","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2016-04-11T09:17:33.066Z","__v":0},"project":"550dd1756c0b4c0d00fd436e","parentDoc":null,"user":"5514315e67d97f2500b774ed","version":{"version":"1.5","version_clean":"1.5.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5a55b149f85c3a0032f10e56","5a55b149f85c3a0032f10e57","5a55b149f85c3a0032f10e58","5a55b149f85c3a0032f10e59","5a55b149f85c3a0032f10e5a","5a55b149f85c3a0032f10e5b","5a55b149f85c3a0032f10e5c","5a55b149f85c3a0032f10e5d","5d1da68fa911a50226595581"],"_id":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2018-01-10T06:23:05.406Z","releaseDate":"2018-01-10T06:23:05.406Z","__v":2},"createdAt":"2015-06-09T11:24:38.397Z","githubsync":"","__v":0}

postgetOnlinePlayers

This action return the number of players currently online in different games.<br>If locale is present it will be used. If not partner default locale will be used. If siteId is present it will be used to lookup gameName else default gameName will be used.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringgetOnlinePlayers
siteId:
integer2
OPTIONAL
localeISO639_ISO3166:
stringda-DK
OPTIONAL

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}