Skip to content

A very dumb proxy to run queries against navitia geocoding APIs, and make the result compatible with geocodejson

Notifications You must be signed in to change notification settings

geocoders/navitia-geocodejson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

navitia places in geocodejson format

Run queries against navitia places API with support of geocodejson spec.

Intalling

Python3 is needed. To install the requirements :

pip install -r requirements.txt

Then duplicate the default_params folder and rename to params :

cp -R default_params/ params/

Put your navitia api key in the params/init.py

Running

python api.py

Then, you can geocode some stuff :

    curl 'http://localhost:5000/coverage/fr-idf?q=rue%20de%20la%20procession&limit=2'

Or use geocoder-tester :

    py.test --api-url http://localhost:5000/coverage/fr-idf/ --max-run 10

About

A very dumb proxy to run queries against navitia geocoding APIs, and make the result compatible with geocodejson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages