Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

🚧 A REST API for service request and permit information for the City of Syracuse

Notifications You must be signed in to change notification settings

code-for-syracuse/syracuse-cityline-api

Repository files navigation

SYRCityLine API

SYRCityLine is a service from the City of Syracuse for submitting services requests and tracking complaints, permits and permit applications. While this service is helpful, there is no API for looking up the status of records (e.g., to programmatically check the status of a complaint or permit).

This project attempts to create an API for th SYRCityLine service.

Example Usage

Look up the status of a complaint or service request:

~$ curl https://{host]/complaint/2013-27037

Response:

{
  "violations": "No violations on record for this complaint ",
  "id": "Complaint/Service Request Record #: 2013-27037",
  "type": "DeadAnimal in Right ofWay",
  "status": "Completed",
  "address": "Parcel: 1500 Geddes St S & Bellevue Av, Syracuse 13205",
  "dates": null,
  "description": "  dead cat",
  "actions": "11/12/2013 Nothing There ",
  "inspections": "No inspections on record for this complaint "
}

Look up a permit application:

~$ curl https://{host]/application/PC-0222-14

Response:

{
  "violations": null,
  "id": "PC-0222-14",
  "type": "Sidewalk Cafe",
  "status": "Issued",
  "address": "234-48 Willow St W & Franklin St, Syracuse 13202",
  "dates": "5/23/2014",
  "description": "Sidewalk cafe outside of Dinosaur BBQ. No FPB approval needed. Alochol to be served.",
  "actions": null,
  "inspections": null
}

Look up a permit:

~$ curl https://{host]/permit/05521

Response:

{
  "violations": null,
  "id": "05521",
  "type": "Res. Remodel/Chg Occ",
  "status": "Void",
  "address": "1500 Geddes St S & Bellevue Av, Syracuse 13205",
  "dates": "Issued: 3/6/2012, Expires: 9/6/2013",
  "description": "Repair roof with 1/2' plywood, felt, ice and water shield at eves, vallies, and perimiter and shingles. Contractor shall maintain the construction safeguards of NYSEBC, & NYSFC chapter 14.",
  "actions": null,
  "inspections": null
}

Note: JSONP is supported by using a callback parameter with requests.

About

🚧 A REST API for service request and permit information for the City of Syracuse

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published