globalid

class steam.globalid.GlobalID(*args, **kwargs)

Bases: int

Represents a globally unique identifier within the Steam network. Guaranteed to be unique across all racks and servers for a given Steam universe.

static new(sequence_count, start_time, process_id, box_id)

Make new GlobalID

Parameters:
  • sequence_count (int) – sequence count
  • start_time (str, datetime) – start date time of server (must be after 2005-01-01)
  • process_id (int) – process id
  • box_id (int) – box id
Returns:

Global ID integer

Return type:

int

sequence_count
Returns:sequence count for GID
Return type:int
start_time_seconds
Returns:seconds since 2005-01-01
Return type:int
start_time
Returns:start time of the server that generated this GID
Return type:datetime
process_id
Returns:process id of server
Return type:int
box_id
Returns:box id of server
Return type:int