Closed batisteo closed 7 years ago
What I tried and wanted to acheive:
geocoder.opencage('budapest', language='eo')
I get <[OK] Opencage - Geocode [Budapest, Hungary]> instead of <[OK] Opencage - Geocode [Budapeŝto, Hungarujo]>
<[OK] Opencage - Geocode [Budapest, Hungary]>
<[OK] Opencage - Geocode [Budapeŝto, Hungarujo]>
But this may be limited: if I’d like to pass other parameters, there is a lot of options for just Opencage.
I would like to be able to pass any params or headers just like the requests API.
params
headers
geocoder.opencage('budapest', params={'language':'eo'})
or
geocoder.opencage('budapest', headers={'Accept-Language': 'eo'})
Thanks!
What I tried and wanted to acheive:
I get
<[OK] Opencage - Geocode [Budapest, Hungary]>
instead of<[OK] Opencage - Geocode [Budapeŝto, Hungarujo]>
But this may be limited: if I’d like to pass other parameters, there is a lot of options for just Opencage.
I would like to be able to pass any
params
orheaders
just like the requests API.or