Files
alfred/brain/infrastructure/api/tmdb/__init__.py

25 lines
461 B
Python

"""TMDB API client."""
from .client import TMDBClient
from .dto import ExternalIds, MediaResult
from .exceptions import (
TMDBAPIError,
TMDBConfigurationError,
TMDBError,
TMDBNotFoundError,
)
# Global TMDB client instance (singleton)
tmdb_client = TMDBClient()
__all__ = [
"TMDBClient",
"MediaResult",
"ExternalIds",
"TMDBError",
"TMDBConfigurationError",
"TMDBAPIError",
"TMDBNotFoundError",
"tmdb_client",
]