nchaulet / node-geocoder

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

Allow passing of limit parameter to opendatafrance #301

Closed jsoma closed 4 years ago

jsoma commented 4 years ago

Currently the OpenDataFrance always requests 20 records at a time via limit. Turns out we don't need to set a limit at all - the API defaults to 5 without the parameter being set - and with this addition we can pass our own custom limit in.