#API Endpoints

4 messages · Page 1 of 1 (latest)

nova mural
#

From what I can tell reading the documentation neither of my questions are possible, but I figured I'd ask here just in case there's been updates.

I was firstly curious if there is any way to chain together multiple usernames on the recent items endpoint, something like this: https://api.collectionlog.net/items/recent/player1, player2, player3
In order to receive the most recent 5 clogs from each of those players as a single json response.

Also I was curious if there was any endpoint currently setup to retrieve just the data shown on the HiScores from a player, i.e: just the username, accountType, uniqueObtained values.

runic palmBOT
#

Bug/Support: <@&939463664421994496>

@nova mural, I've pinged the appropriate party for your request.

grim sierra
#

As far as your first query, no. I don't think so (I haven't checked the API updates in a few months tho)

Your second query, though, should contained that data in the regular /hiscores/:page endpoint, iirc it's structured something like:

data: {
   username: abc, 
   accountType: IRONMAN,
   rank: 1,
   uniqueObtained: 1502, 
   total: 1530
} 

Or do you mean that data from a single, specific player?
That's also in /collectionlog/user/:username in the same format, just with the clog tabs as well

nova mural