This microservice interacts with various data sources from Planning Information Map (PIM)
PLN_ARCGIS_PARCEL
: URL to Planning's ArcGIS Parcel server
Install Pipenv (if needed)
$ pip install --user pipenv
Install included packages
$ pipenv install
Start WSGI Server
(pim-microservice-py)$ pipenv run gunicorn 'service.microservice:start_service()'
Open with cURL or web browser
Retrieve parcel data via address (Documentation)
(example)$ curl http://127.0.0.1:8000/arcgis/parcels?address=1650%20mission%20street
Retrieve data via parcel number (Documentation)
(example)$ curl http://127.0.0.1:8000/records/[parcel id]?fields=year_built,building_area