r6api.js icon indicating copy to clipboard operation
r6api.js copied to clipboard

New Official Stats tracker support

Open BadCoder1337 opened this issue 5 years ago • 8 comments

image OMG IT'S HAPPENED!!! There's NEW map stats, stats drilldown by time and more! R6Tab already implemented new site parsing.

BadCoder1337 avatar Oct 22 '20 12:10 BadCoder1337

THERE'S ALSO SEASONAL DATA FROM BLACK ICE

BadCoder1337 avatar Oct 22 '20 12:10 BadCoder1337

Yeah saw it yesterday, played around with new endpoints will try to implement them in typescript rewrite, gonna try to push new branch today

danielwerg avatar Oct 22 '20 13:10 danielwerg

gonna try to push new branch today

well

I was hoping they would fix few bugs in a following week after they pushed new site before I would try to integrate in into wrapper but it's almost been two weeks...

A lot of things are still broken, for example, amount of matches per seasons is incorrect it's doesn't include abandons only wins and losses. And it's also weird how they now use two endpoints which has same data such as matches won, matches lost for "SEASONS" tab.

I was hoping we would finally get proper API but instead of that now it's even bigger mess with new endpoints. Not sure how I will implement it yet, there A LOT of new stuff.

danielwerg avatar Nov 03 '20 07:11 danielwerg

Okay, I'm trying to justify spending time and adding support for this. So far don't think it is worth it. There still some things possibly broken (ex: https://i.imgur.com/a79DWru.png). Amount of kills/deaths and matches played are different for some reason.

@BadCoder1337 you mentioned r6tab implemented new api, but I can't really see where they used it.

Also didn't someone else implemented new api somewhere like api wrapper for other languages or tracker site?

danielwerg avatar Apr 29 '21 15:04 danielwerg

R6Tab collects map statistics, which doesn't present in r6api.js.

Currently there's a huge backlog between open source wrappers and R6Tab. They and single twitter bot got access to BattlEye feed. They somehow detect player squads in the browser.

Somebody from the Modding community told that Ubisoft spoon-fed API docs to R6Tab programmers. I don't know the truth, I discovered the endpoint for player inventory and a few profile related, but haven't any clue for further exploration.

BadCoder1337 avatar Apr 29 '21 17:04 BadCoder1337

I'm pretty sure all things you listed they are getting from their overwolf app. If you go to official tracker and r6tab and compare your stats for specific map you will see.

danielwerg avatar Apr 29 '21 18:04 danielwerg

Here is comparison:

danielwerg avatar Apr 30 '21 05:04 danielwerg

r6s-stats.ubisoft.com is replaced by prod.datadev.ubisoft.com on ubi site

danielwerg avatar Jun 06 '22 14:06 danielwerg