api error
1 "Player Server Information" return
{'errors': [{'status': '404', 'title': 'Unknown Server', 'detail': 'There is no server with the given id.'}]}
and I'm sure I'm using the right server_id. This api worked fine until Squad was updated
2 "Player Match Identifiers" return empty data such as {'data': []}
. I've checked my code.19 Replies
Provide the request
server id =23954976
player id =1117947939
That's not the request
I can't send a url
Type out your HTTP request in here assuming you've filled out all variables
links to our website are not blocked
Yeah if you look at the player page itself there's no servers listed, so you're requesting a page with empty data
There is some data on sessions though. https://api.battlemetrics.com/sessions?version=^0.1.0&include=server&page[size]=10&filter[players]=1117947939&
Is this the server you're trying to query? https://www.battlemetrics.com/servers/rust/23954976 Doesn't seem to list players so that's probably why
yes
Yeah Squad switched to EOS so no longer supports public player lists
you'll have to use the sessions endpoint for now instead.
That or you need to be an authenticated RCON user
so Player Match Identifiers no longer supports Squad server?
it does if you link server to BM via RCON https://www.battlemetrics.com/subscription/rcon
it's a Squad server
I link server via RCON but it only return "{'data': []}"
It's a Squad server
Has the player joined since you linked it?
yes ,
I try to use online players’ steamID and it still return "{'data': []}"
Are you sure your server is setup with BM? Still seems to be failing to respond to queries at https://www.battlemetrics.com/servers/squad/23954976