You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
While we have been researching for Ranked 2.0 @floxay provided new sandbox name and space id for crossplay.
My xp and level from new crossplay progression endpoint:
GET /v1/spaces/0d2ae42d-4c27-4cb7-af6c-2099062302bb/sandboxes/OSBOR_XPLAY_LNCH_A/r6playerprofile/playerprofile/progressions?profile_ids=c09fc7c9-5d45-4c6c-94e5-2dee159abff3 HTTP/1.1Host: public-ubiservices.ubi.comAuthorization: Ubi_v1 t=<token>Ubi-AppId: e3d5ea9e-50bd-43b7-88bf-39794f4e3d40
As you can see, both results are incorrect. It would be reasonable for Ubisoft (lol) to use the sum of legacy and crossplay xp. But there's no total xp in API response, only level and xp remainder. Using some redditor research I wrote few functions in Google Sheets to calculate xp per level, total xp, level and remainder by total xp.
NOTE: there's a constant 500xp difference with the calculated and actual result. Looks like Ubisoft added 500xp to legacy profiles after freezing it.
So now I can import these functions from utils, call r6api.getProgression('uplay', id) and r6api.getProgression('xplay', id), merge total xp and calculate the actual level and xp remainder.
If @danielwerg decide he could add a unified method to collect and merge progression from all sandboxes, but such method is not ratelimit friendly.
Why not just use the public profile endpoint to retrieve level and XP instead of relying on a somewhat weird math and legacy endpoints that could be shut down by Ubisoft at any minute?
c09fc7c9-5d45-4c6c-94e5-2dee159abff3=
Oh, wow, /r6playerprofile/playerprofile/progressions is fully unsupported, doesn't even update alpha pack drop chance. I will probably replace /r6playerprofile/playerprofile/progressions with /title/r6s/rewards/public_profile for getUserProgresssion method my only concern is lack of bulk profile ids request.
a somewhat weird math and legacy endpoints that could be shut down by Ubisoft at any minute
This is certified Ubisoft API Moment™️. I would love to use official tracker endpoints, but there's very tight ratelimites and no bulk queries. It's designed to use under user auth, so it's impossible to use it under "bot" auth for production-scale data retrieval.
Could you give me full url that you are hitting? For uplay I'm getting 3000 and for crossplay I'm getting 3100 which both are wrong, in game it shows 11.00%
Game client API, so there's hardly anything wrong with it ¯\_(ツ)_/¯.
However, not providing a dedicated & official API of any kind or scale for developers is weird ...to say the least.
@danielwerg still 31%. Looks like it doesn't work for you, because I got correct result also for my friend.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After crossplay release
r6api.getProgression
no longer receive updates.My current xp and level:
My xp and level from legacy progression endpoint:
While we have been researching for Ranked 2.0 @floxay provided new sandbox name and space id for crossplay.
My xp and level from new crossplay progression endpoint:
As you can see, both results are incorrect. It would be reasonable for Ubisoft (lol) to use the sum of legacy and crossplay xp. But there's no total xp in API response, only level and xp remainder. Using some redditor research I wrote few functions in Google Sheets to calculate xp per level, total xp, level and remainder by total xp.
NOTE: there's a constant 500xp difference with the calculated and actual result. Looks like Ubisoft added 500xp to legacy profiles after freezing it.
So now I can import these functions from utils, call
r6api.getProgression('uplay', id)
andr6api.getProgression('xplay', id)
, merge total xp and calculate the actual level and xp remainder.If @danielwerg decide he could add a unified method to collect and merge progression from all sandboxes, but such method is not ratelimit friendly.