Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.