yoto-api
A python package that makes it a bit easier to work with the yoto play API. Not associated with Yoto in any way.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It fills a clear gap for developers wanting to automate Yoto devices. Pre-Alpha status reflects the API's maturity rather than code quality; recent activity and 55 GitHub stars suggest it is stable enough for production use. Install if you own Yoto hardware and need programmatic control.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Yoto client ID from https://yoto.dev/get-started/start-here/ and Python 3.10 or later.
- Low install friction; pure Python wheel with two async dependencies (aiohttp, aiomqtt).
- Active maintenance with a recent release and no known vulnerabilities.
License · maintenance · safety
MIT license (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 55 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,763 downloads/mo, #14,797 on PyPI
Alternatives
Verify before relying
import asyncio
from yoto_api import YotoClient
async def main():
async with YotoClient(client_id="your_client_id") as client:
auth = await client.device_code_flow_start()
print(auth["verification_uri_complete"])
await client.device_code_flow_complete(auth)
await client.refresh()
for pid, player in client.players.items():
print(pid, player.device.name)
asyncio.run(main())- Whether the package handles reconnection and session recovery automatically on network interruption.
- Performance characteristics when managing multiple players or high-frequency MQTT event streams.
- Completeness of extended_status field coverage across all Yoto device families.
What it is and what it does
yoto_api is an async Python wrapper around the Yoto player API that lets you programmatically control Yoto devices, query their state, and react to live playback events over MQTT. It abstracts the REST endpoints (device discovery, configuration, library browsing) and MQTT event stream into a single client interface, organizing player data into typed sub-objects (device identity, settings, battery/volume status, playback state, online presence).
The package is built on aiohttp and aiomqtt, making it suitable for async applications like Home Assistant integrations or event-driven automation. It handles OAuth device-code flow for initial authentication, token refresh, and supports both one-shot REST snapshots and live MQTT subscriptions. All methods are async, and error handling is granular (AuthenticationError, YotoAPIError, YotoMQTTError).
Use it for
- Integrate Yoto players into a Home Assistant or other home automation system for voice control and playback automation.
- Build a dashboard or monitoring tool that displays real-time playback state and battery levels across multiple Yoto devices.
- Automate bedtime routines by triggering playback of specific cards on Yoto players at scheduled times.
- React to live MQTT events to log playback history or trigger downstream actions when a player starts or stops.
- Manage card library and groups programmatically, organizing content across multiple devices.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It fills a clear gap for developers wanting to automate Yoto devices. Pre-Alpha status reflects the API's maturity rather than code quality; recent activity and 55 GitHub stars suggest it is stable enough for production use. Install if you own Yoto hardware and need programmatic control.
Install
yoto-api on PyPI
Before you install
Low install friction; pure Python wheel with two async dependencies (aiohttp, aiomqtt). Active maintenance with a recent release and no known vulnerabilities.
Requires a Yoto client ID from https://yoto.dev/get-started/start-here/ and Python 3.10 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
import asyncio
from yoto_api import YotoClient
async def main():
async with YotoClient(client_id="your_client_id") as client:
auth = await client.device_code_flow_start()
print(auth["verification_uri_complete"])
await client.device_code_flow_complete(auth)
await client.refresh()
for pid, player in client.players.items():
print(pid, player.device.name)
asyncio.run(main())
Verify before relying
- Whether the package handles reconnection and session recovery automatically on network interruption.
- Performance characteristics when managing multiple players or high-frequency MQTT event streams.
- Completeness of extended_status field coverage across all Yoto device families.
Package facts
| License | MIT license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttpaiomqtt |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,763 / month, #14,797 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: yoto_api-4.3.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “yoto player control api”
- yoto-apiAsync Python client for controlling Yoto player devices via REST API…
- pybluControl and query BluOS audio players over the network using their…
- aioslimprotoAsync Python implementation of the SLIMProto protocol for controlling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also pyblu · pykaleidescape · hyperion-py · elgato · aiotractive · tb-mqtt-client · sonos-websocket · aioslimproto · pyobjc-framework-MediaPlayer · aiomqtt