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
Since pubg-royale still uses the old format, it only returns empty gameModeStats objects at the moment 😞 To fix this the playerStats() 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 😉
Good question 😅 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.
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 😞 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 😉
This would also fix issue kuper-adrian/statg-bot#12 of the statg-discord-bot.
The text was updated successfully, but these errors were encountered: