Skip to content

mieza-ai/mieza-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mieza-api-python

Python client for the Mieza GTO API, auto-generated from the OpenAPI specification.

Installation

pip install mieza-gto-sdk

Usage

from python_gt_client import Client, AuthenticatedClient

# Unauthenticated client
client = Client(base_url="https://gto.mieza.ai")

# Authenticated client
client = AuthenticatedClient(
    base_url="https://gto.mieza.ai",
    token="your-api-key",
)

Making requests

from python_gt_client.api.default import get_api_gt_games

response = get_api_gt_games.sync(client=client)

Development

The client is generated from the GTO service's OpenAPI spec:

./generate.sh

Running tests

pytest tests/

License

MIT

About

Python client for the Mieza GTO API, auto-generated from OpenAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors