How to use the pytile.client.Client function in pytile

To help you get started, we’ve selected a few pytile examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bachya / pytile / pytile / client.py View on Github external
async def async_login(
    email: str,
    password: str,
    *,
    client_uuid: Optional[str] = None,
    locale: str = DEFAULT_LOCALE,
    session: Optional[ClientSession] = None,
) -> Client:
    """Return an authenticated client."""
    client = Client(
        email, password, client_uuid=client_uuid, locale=locale, session=session
    )
    await client.async_init()
    return client

pytile

A simple Python API for Tile® Bluetooth trackers

MIT
Latest version published 11 months ago

Package Health Score

65 / 100
Full package analysis

Similar packages