peerplays.sport module

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

Bases: peerplays.blockchainobject.BlockchainObject

Read data about a sport on the chain

Parameters:
  • identifier (str) – Identifier
  • blockchain_instance (peerplays) – PeerPlays() instance to use when accesing a RPC
eventgroups
refresh()
type_id = 20
class peerplays.sport.Sports(**kwargs)

Bases: list

List of all available sports

cache = {}