jellyfin.generated.api_10_10.TmdbApi

All URIs are relative to http://localhost

Method HTTP request Description
tmdb_client_configuration GET /Tmdb/ClientConfiguration Gets the TMDb image configuration options.

tmdb_client_configuration

ConfigImageTypes tmdb_client_configuration()

Gets the TMDb image configuration options.

Example

  • Api Key Authentication (CustomAuthentication):
import jellyfin.generated.api_10_10
from jellyfin.generated.api_10_10 import ApiClient, Configuration
from jellyfin.generated.api_10_10.models.config_image_types import ConfigImageTypes
from jellyfin.generated.api_10_10.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = Configuration(
    host = "http://localhost"
)

# Configure API key authorization: CustomAuthentication
configuration.api_key['CustomAuthentication'] = f'Token="{os.getenv("API_KEY")}"'
configuration.api_key_prefix['CustomAuthentication'] = "MediaBrowser"


# Enter a context with an instance of the API client
with ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = jellyfin.generated.api_10_10.TmdbApi(api_client)

    try:
        # Gets the TMDb image configuration options.
        api_response = api_instance.tmdb_client_configuration()
        print("The response of TmdbApi->tmdb_client_configuration:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling TmdbApi->tmdb_client_configuration: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

ConfigImageTypes

Authorization

CustomAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
401 Unauthorized -
403 Forbidden -

[Back to top] [Back to API list] [Back to Model list] [Back to README]