Open alvaro-octal opened 8 years ago
Hi,
I was taking a look at the code trying to figure out how could I change the API language (it consist on pass a language parameter with every request), could you add it?.
language
node that, this works fine.
mdb.searchMovie({ query: 'Alien', language: 'es' }, function(err, res){ console.log(res); });
but maybe something like this, would be a bit more clean.
var mdb = require('moviedb')(key, lang)
thanks in advance.
@Alvaroctal It will be interesting to pass a setting for default params. I'll take a look about it.
default params
Thanks for adding the issue.
Anything on this? I would love to set a global language param
Hi,
I was taking a look at the code trying to figure out how could I change the API language (it consist on pass a
language
parameter with every request), could you add it?.node that, this works fine.
but maybe something like this, would be a bit more clean.
thanks in advance.