The official Python library for the Spotted API, providing a typed interface for programmatic access. Current version 0.31.1, with frequent releases reflecting active development.
pip install spottedNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize the client with an API key from environment variable and list available models.
Use `from spotted import Spotted` instead of `from spotted import SpottedAPI`.
Upgrade to >=0.30.2 or ensure file data is passed as a single tuple/list.
Set headers via environment variables (e.g., `MY_HEADER=value`) or use the `default_headers` parameter in the client.
Use `from spotted import Spotted`.
Pass files as `files=[('file', open('photo.jpg', 'rb'))]` or upgrade to >=0.30.2.Upgrade to >=0.29.2 or ensure compatible pydantic version.