PHL API is a JSON API that provides access to geographic data from Philadelphia.
It originated from theĀ DataCampPHL as part of the Code for America effort in Philadelphia.
PHL API is powered by GeoCouch, a spatial index enabled flavor of CouchDB. This means that every piece of data in PHL API is accessible through a REST-like interface.
API USAGE
http://phlapi.com:5984/v1/data_set?bbox=x0,y0,x1,y1
To see all available data sets, just go to http://phlapi.com:5984/v1/datasets or see the list of currently available resources.
EXAMPLE
Return all the libraries within a mile of Azavea:
Selec All Code:
1 | curl "http://phlapi.com:5984/v1/phl_libraries?bbox=-75.1733961,39.9438813,-75.1433961,39.9738813" |

