Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class User():
- def __init__(id):
- self.__id = id
- [URL Request to call API and get everything using the ID (JSON)]
- self.__personaname = [JSON response personaname]
- self.__lastlogoff = [JSON response personaname]
- [...]
- def get_id():
- return __id
- def get_personaname():
- return __personaname
- [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement