16 lines
456 B
Python
16 lines
456 B
Python
#!/usr/bin/env python3
|
|
|
|
from board_mate_client import ApiClient, Configuration
|
|
from board_mate_client.api.default_api import DefaultApi
|
|
from board_mate_client.models.game_dto import GameDto
|
|
|
|
if __name__ == "__main__":
|
|
config = Configuration(
|
|
host="http://192.168.15.120:8000"
|
|
)
|
|
|
|
with ApiClient(config) as client:
|
|
api = DefaultApi(client)
|
|
|
|
response = api.retrieve_games("693eebe727f9ffb33360fa38")
|
|
print(response) |