Closed kin0992 closed 1 year ago
The URL to use is: https://fantasy.formula1.com/services/user/leaderboard/<uuid>/pvtleagueuserrankget/1/2102210/0/1/1/10/?buster=1677693301883
It looks like that the <uuid>
parameter could be any UUID
We should investigate about the meaning of other params (the params after the /pvtleagueuserrankget
).
We should use the following parameters from the JSON:
$.Data.Value.memRank -> we get the users in the leaderboard
from the user entry:
[...].ovPoints
mapped to score
of domain object
[...].teamName
mapped to team_name
of domain object
It is possible that we can change something about the user
info
We should identify the new endpoint to use and update the mapper (from JSON to our domain object) as well