peerplays.eventgroup module

class peerplays.eventgroup.EventGroup(data, klass=None, space_id=1, object_id=None, lazy=False, use_cache=True, *args, **kwargs)

Bases: peerplays.blockchainobject.BlockchainObject

Read data about an event group on the chain

Parameters:
  • identifier (str) – Identifier
  • blockchain_instance (peerplays) – PeerPlays() instance to use when accesing a RPC
events
refresh()
sport
type_id = 21
class peerplays.eventgroup.EventGroups(sport_id, *args, **kwargs)

Bases: list

List of all available EventGroups

Parameters:sport_id (str) – Sport ID (1.21.xxx)
cache = {}