OpenLegislation is a web service that delivers legislative information from the New York State Senate and Assembly to the public in near-real time. It is used internally to serve up legislative data for nysenate.gov and the Bluebird-CRM.
Clone or download
McSquirrel Fix null vote type issue nysenate.gov bill reports
Null vote types were causing exceptions in the nysenate.gov bill when
used in the compare method of BillVoteId.  This commit makes the
BillVoteId compare method able to handle null values.
Latest commit 621ed20 Sep 19, 2018

README.md

OpenLegislation

From the New York State Senate

Dual BSD/GPL License. See the NYSenate licensing page http://www.nysenate.gov/Open-Source-Software-Licenses.

Open Legislation is an open source web service developed in-house by the New York State Senate to provide access to NYS legislative data including bills, resolutions, and laws. Developers can request a free key for the JSON API at http://legislation.nysenate.gov/. The JSON API is documented at http://legislation.nysenate.gov/static/docs/html/.

Updates to legislative data are distributed by the Legislative Bill drafting Commission (LBDC) in a raw, plain text format. Open Legislation parses the updates in real time and redistributes the data through the JSON API for integration with various web applications. It is developed and run using several open-source technologies and frameworks including:

  • Java 8
  • Spring 4 framework
  • PostgreSQL
  • Elasticsearch
  • AngularJS
  • Tomcat

Bill page demo

Current Senate Developers

Past Developers