An open API service indexing awesome lists of open source software.

https://github.com/mdb/phl-pac-complaints

A thin Node.js module for interacting with Philadelphia's Police Advisory Commission Complaints API.
https://github.com/mdb/phl-pac-complaints

Last synced: over 1 year ago
JSON representation

A thin Node.js module for interacting with Philadelphia's Police Advisory Commission Complaints API.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/mdb/phl-pac-complaints.png?branch=master)](https://travis-ci.org/mdb/phl-pac-complaints)

# phl-pac-complaints

A thin Node.js client for working with Philadelphia's [Police Advisory Commission Complaints API](http://gis.phila.gov/ArcGIS/rest/services/PhilaGov/PAC_Complaints_2009_2012/MapServer).

This is a work in progress.

Learn more about Philadelphia's PAC Complaints data on [OpenDataPhilly](http://opendataphilly.org/opendata/resource/218/philadelphia-police-advisory-commission-complaints).

## Example Usage

var PhlPacComplaints = require('phl_pac_complaints');
var phlPacComplaints = new PhlPacComplaints();

phlPacComplaints.get({where: "ACTION='Reject'"}, function (error, data) {
if (error) return error;
console.log(data);
});