geocoders / osmnames_geocodejson

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSMNames geocoder in geocodejson format

Run queries against OSMNames geocoder API with support of geocodejson spec.

Intalling

Python3 is needed. To install the requirements :

    pipenv install
    pipenv shell

Running

OSMNAMES_API_KEY='your-osm_names_api_key' python api.py

Then, you can geocode some stuff :

    curl 'http://localhost:5000/?q=rue%20de%20la%20procession'

Or use geocoder-tester :

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

About

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

License:Apache License 2.0


Languages

Language:Python 100.0%