Closed kuper-adrian closed 5 years ago
Hey, how do you know whether it's steam or kakao? :-)
Good question :sweat_smile: Well at least the pc-kakao
region should use kakao
instead of steam
but I don't really know if any of the other seasons do, sorry. I think it would be fine if only pc-kakao
uses kakao
for now. If other regions also need to use kakao
, it could be fixed later.
Ok, I'll do it then
PUBG API v6.0.0 released October 3rd and changed the URL format for getting the season stats of any given player.
Old format:
New format:
More info on api v6.0.0 here.
Since pubg-royale still uses the old format, it only returns empty
gameModeStats
objects at the moment :disappointed: To fix this theplayerStats()
function must be adjusted to the new url format for every PC region (the XBOX regions still use the old format!).Since its Hacktoberfest I will leave this issue up for grabs for some time for anyone interested in earning another pull request towards his awesome t-shirt :wink:
This would also fix issue kuper-adrian/statg-bot#12 of the statg-discord-bot.