This release focuses on migration to the new Rocket League API.
Breaking changes:
- Removed
rlapi.utils
module - Removed
Playlist.tier_max
instance attribute- use
Playlist.TIER_MAX
class attribute instead
- use
platform.value
is now no longer the same asstr(platform)
- The library is now using the new Rocket League API which requires a client ID and secret from Epic Games Developer Portal, instead of the old token.
As a result, following breaking changes have been made:Client
now has 2 required keyword argumentsclient_id
andclient_secret
instead oftoken
.Client.change_token()
has been removed in favor ofClient.update_client_credentials()
Client.get_player()
for Epic Games platform now requires Epic Account ID, instead of Epic Display Name.- This is a limitation of the new API.
Player.user_name
is now only present for PlayStation 4, Xbox One, and Nintendo Switch players.
This change corresponds to the platforms for which the player lookup requires the player's user name.- This is a limitation of the new API.
Player.user_id
is now present for Steam and Epic Games players.
This change corresponds to the platforms for which the player lookup requires the player's user ID.- This is a limitation of the new API.
Features:
- Added
Client.close()
method
Enhancements:
- Library users can now install
aiohttp
in <3.5.4, 4.0) version range - Library users can now install
lxml
in <4.4.2, 5.0) version range
Fixes:
- Fixed casing of the friendly name of the PlayStation 4 platform