Bungie.net User

class ourdestiny.bungienetuser(bungienet_json)

A class representing a Bungie.net user account

Parameters:

bungienet_json (dict) – A JSON file obtained from the Bungie API for bungienet users

Variables:
  • membership_id – The membership ID for this bungienet user
  • unique_name – The unique name of the bungienet user
  • display_name – The display name of the bungienet user
  • about – The about text of the bungienet user
  • status_text – The status text of the bungienet user
  • first_access – The date and time when the account was first accessed
  • last_update – The date and time when the account was last updated
  • membership_types – A dictionary with keys relating to each of the membership type enums, containing the display name of the user on that platform if they have one, and a None if they do not