Season¶
-
class
ourdestiny.d2season(season_json, profile_object)¶ Bases:
ourdestiny.common.d2displaypropertiesA class used to represent a season
Parameters: - season_json (dict) – A JSON obtained from the database from the season hash
- profile_object (ourdestiny.d2profile) – The profile object used to obtain this season object
Variables: - name (string) – The name of the season
- description (string) – The description of the season
- season_number (integer) – The season number
- start_date (datetime) – The start date of this season
- end_date (datetime) – The end date of this season - can be none where the season’s end date is not confirmed yet
- artifact_item (ourdestiny.d2item) – The artifact of this season
-
class
ourdestiny.d2seasonpass(season_pass_json, profile_object)¶ Bases:
ourdestiny.common.d2displaypropertiesA class used to represent a season pass
Parameters: - season_pass_json (dict) – A JSON obtained from the database from the season pass hash
- profile_object (ourdestiny.d2profile) – The profile object used to obtain this season pass object
Variables: - name – The name of the season pass
- hash – The hash of the season pass
- reward_progression – The progression for the initial 1-100 levels of the season pass
- prestige_progression – The progression for above rank 100 on the season pass