simple flask REST api to grab and regurgitate USFS major fires CSV
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
.gitignore
LICENSE
Procfile
README.md
app.py
requirements.txt
run-api.py

README.md

fire_api

simple flask REST api to grab and regurgitate USFS major fires CSV as geoJSON

get the app: abenrob$ git clone https://github.com/abenrob/fire_api.git

set up the virtual environment (need virtualenv installed)

abenrob$ virtualenv venv

dependencies installed with pip:

abenrob$ venv/bin/pip install -r requirements.txt

run app locally:

abenrob$ venv/bin/gunicorn run-api:app

try it out:

abenrob$ curl http://localhost:8000/api/v1.0/2013-09-18

now rig-up an app!

--or-- copy the geojson object output from the above step, and paste it in geojson.io to view the geo-goodness!

--or-- visit the app deployed to heroku:

http://fire-api.herokuapp.com/

http://fire-api.herokuapp.com/api/v1.0/2013-09-18