Feature request: Playtime for Overwatch
Closed this issue · 0 comments
I'd like to see my Overwatch playtime in the Galaxy Launcher.
The playtime can be grabbed from the official Overwatch player profiles or a fanmade API.
Playtime is divided into quick play and ranked play - and have to be added to get a total play time.
Official player profiles
URL: https://playoverwatch.com/en-us/career/pc/[username]-[number]
Example: https://playoverwatch.com/en-us/career/pc/saitho-2703
Total playtime for Quick play is located in the category "Game" as "Time played" (HH:MM:SS).
Playtime for competitive play is located at the same place, but one has to switch to competitive stats "tab" above the statistics.
Fanmade API
URL: https://ow-api.com/v1/stats/pc/eu/[username]%23[number]/complete
Example: https://ow-api.com/v1/stats/pc/eu/saitho%232703/complete
Total playtime is located in quickPlayStats.careerStats.allHeroes.game.timePlayed
and competitiveStats.careerStats.allHeroes.game.timePlayed
.