Logo Platform
Company of Heroes Legacy
Universe banner wording

Old school CoH2 ladder? Stats endpoint deprecated?

Reply
Copied to clipboard!
a year ago
Dec 1, 2022, 11:41:55 AM

Now that I can't find the ladder on the site anymore, I've made my own little tool to get some statistics for myself and a few friends.


After the last server update (is my guess), the endpoint used to get the recent matches all of a sudden returns: {"result":{"code":12, "message":"ENDPOINT_IS_DEPRECATED"}}


Any chance of getting the info on the new endpoint to use? I know of several projects out there that put time and effort into making some great statistics based on matches etc., so please share the info with us.


Thanks
Json


0
a year ago
Dec 5, 2022, 5:53:51 PM

This is the new CoH2 API:


Url: /game/Leaderboard/getRecentMatchHistoryByProfileId?title=coh2,profile_id=1221212


The response body is exactly the same as in the old API. The only difference is that the new API accepts single profile ID.

0
a year ago
Jan 26, 2023, 8:07:24 AM

Ah, yes, I finally found your post on the subject.

I've been trying with both my profile id and my steam id, and both gives me an error 400.

https://coh2-api.reliclink.com/game/Leaderboard/getRecentMatchHistoryByProfileId?title=coh2,profile_id=/steam/76561198005723259

https://coh2-api.reliclink.com/game/Leaderboard/getRecentMatchHistoryByProfileId?title=coh2,profile_id=3067


Wrong url or ?


Thanks,

Steen

0
a year ago
Jan 27, 2023, 8:03:30 AM

Getting the same error as Json wrote. Please advice. Maybe the api url has changed?

Updated a year ago.
0
a year ago
Feb 6, 2023, 6:24:09 PM

The API is like this https://coh2-api.reliclink.com/community/leaderboard/getRecentMatchHistoryByProfileId?title=coh2&profile_id=3067


But you can see your stats online on this page https://coh2stats.com/players/76561198018614046-Isildur

0
a year ago
Feb 7, 2023, 11:03:57 AM

I know the stats site, but I'm doing some different statistics and try out some other data mining, so I still need my data.


Thanks,

Json

0
10 months ago
Jul 5, 2023, 2:46:50 PM
json wrote:

Now that I can't fnd the ladder on the site anymore, I've made my own little tool to get some statistics for myself and a few friends.


After the last server update (is my guess), the endpoint used to get the recent matches all of a sudden returns: {"result":{"code":12, "message":"ENDPOINT_IS_DEPRECATED"}}


Any chance of getting the info on the new endpoint to use? I know of several projects out there that put time and effort into making some great statistics based on matches etc., so please share the info with us.


Thanks
Json



0
?

Click here to login

Reply
Comment
0