celiao / tmdbsimple

A wrapper for The Movie Database API v3.
GNU General Public License v3.0
579 stars 122 forks source link

How to change the language of the data it returns to me #72

Closed rcv11x closed 2 years ago

rcv11x commented 3 years ago

Hello, I am using the api but I would like it to return the data in Spanish? How or where can I change it to return the descriptions and more information in Spanish?

SaltySpaghetti commented 3 years ago

Simply add to your request the language you want

response: list = search.tv(query="A nice TV show", language="es")["results"]

Archmonger commented 3 years ago

This PR is a question, not a bug report. Can be closed @celiao

celiao commented 2 years ago

Thanks, @Archmonger!