0.2.5b7 release.
Pre-release
Pre-release
Break changes
This release includes huge break changes. Like classes renames. functions removed and different behavior to match the new bungie api design.
- Renamed
impl.BaseClient
main client protocol toimpl.RESTful
- Removed
Client.fetch_user_from_id
since bungie removed this method. Client.fetch_user_from_id
is nowClient.fetch_user
Client.fetch_player
Now requires the full name bungie name with its code, i.e.,Fate#1234
- Removed some class attrs from
crate.User
repr. - The
HTTPClient
now raises an error before continuing the request if the API was down. - All
id
class attrs that used to return a str object of the id now returns an int object, i.e., '1234' -> 1234. - Removed
PartialUser
ABC since it was really slowing things up for no reason.
Features
- New class attr
unique_name
that returns the Bungie user/player's unique name, i.e,Fate#1234
. - New class attr
code
that returns the bungie user/player code, i.e,1234
. - Optimized HTTP requests speed.
type
parameter is now optional to pass onClient.fetch_player
.- Added
ClanMember.types
that returns all membership types for clan member. - Added
Player.types
that returns all membership types for player. - Added the version addition to the docs.
- Removed overload methods
__int__
and__str__
on all userlike crates and added them to the baseUserLike
object.
Bug fixes
- Fixed a bug where bungie won't allow
301
without usingwww.
redirect forSearchDestinyPlayer
endpoint.