nchaulet / node-geocoder

nodejs geocoding library
http://nchaulet.github.io/node-geocoder/
MIT License
926 stars 213 forks source link

add opencage language feature #309

Closed fcrezza closed 2 years ago

fcrezza commented 3 years ago

In this pull request, I added language param to opencage API as described in opencage api so it will attempt to return the response in the local language (ie. value we passed to language parameter during instantiating the geocoder object).

before making this PR I looked some part of the code, it looks like implement the language parameter but I don't know how to use it, so please review this PR. thanks