Advertisement
Guest User

Untitled

a guest
Sep 6th, 2014
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. class User():
  2.  
  3.     def __init__(id):
  4.         self.__id = id
  5.        
  6.         [URL Request to call API and get everything using the ID (JSON)]
  7.  
  8.         self.__personaname = [JSON response personaname]
  9.     self.__lastlogoff = [JSON response personaname]
  10.     [...]
  11.  
  12.     def get_id():
  13.     return __id
  14.  
  15.     def get_personaname():
  16.     return __personaname
  17.  
  18.     [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement