Thom-Roberts / ts-clan

0 stars 0 forks source link

Investigate time discrepencies #47

Open Thom-Roberts opened 5 years ago

Thom-Roberts commented 5 years ago

Possibly has to do with the GetHistoricalStats endpoint? whatever the one is that returned allPve / allPvP all time stuff

Thom-Roberts commented 5 years ago

May also lose track of some stats? we'll see

Thom-Roberts commented 5 years ago

Need to use a different endpoint I think to get favorite character (or at least the times for them). Stuff like 'Wasted on Destiny' uses the GetHistoricalStatsForAccount endpoint, while I was using the GetProfile endpoint

Thom-Roberts commented 5 years ago

Values to use from GetHistoricalStatsForAccount - Response.mergedAllCharacters.merged.secondsPlayed Response.characters.forEach(character => // characterId is here, character.merged.secondsPlayed

Thom-Roberts commented 5 years ago

Remember to include the value / display value as needed