Localization
Streaming Availability API supports localization in multiple languages. The localization includes translation of overview, title and posters of the shows, and also the translation of genre and country names.
Supported languages
The API supports the following languages for localization:
- English (
en) - Spanish (
es) - French (
fr) - Turkish (
tr)
Output language parameter
To support localization, all the endpoints have an optional output_language parameter
which accepts a 2-letter language code.
Here is an example of how you would fetch the details of a show in Spanish:
# If you got your API key from https://developers.movieofthenight.com/ curl -G https://api.movieofthenight.com/v4/shows/tt0068646 \ -H "X-API-Key: {YOUR_API_KEY}" \ --data-urlencode output_language="es" # If you got your API key from https://rapidapi.com/ curl -G https://streaming-availability.p.rapidapi.com/shows/tt0068646 \ -H "X-RapidAPI-Key: {YOUR_API_KEY}" \ --data-urlencode output_language="es"