Beispiel #1
0
 def __init__(self,author):
     self.author = author
     self.swapi = swapi_client.Swapi()
     self.players = []
     self.last_player_id = 0
from libs import swapi_client

client = swapi_client.Swapi()
people = client.get_people()
people = client.get_people()
print(people)
Beispiel #3
0
 def __init__(self, author):
     self.author = author
     self.swapi = swapi_client.Swapi()
     self.players = []  #lista de jugadores vacia, para rellenarla
     self.last_player_id = 0
Beispiel #4
0
 def __init__(self, author):
     self.author = author
     self.swapi = swapi_client.Swapi()
     self.players = [
     ]  #Lista vacia de los players que tendremos en nuestro juego
     self.last_player_id = 0