Open Legislation

Component ID

738576

Component name

Open Legislation

Component type

module

Maintenance status

Component security advisory coverage

not-covered

Downloads

1025

Component created

Component changed

Component body

This module is abandoned due to a security issue the maintainer never fixed. See SA-2011-004 for details.

If you want to use this module, your options are:

An integration module for OpenLegislation, the open legislation database and web service of the New York State Senate.

This module includes a separate file, openleg.inc, which provides a non-Drupal-specific library of functions for retrieving data via the OpenLegislation API. This library is currently very basic. Plans are afoot to replace openleg.inc with a library that is more class-based, but in the meantime the code in openleg.module provides examples showing how to use the current library to retrieve information.

This module is currently very beta, but is running with no problems at NYSenate.gov.

The OpenLegislation API supports HTML, JSON, XML and CSV. Source code and documentation can be found at github:
http://wiki.github.com/nysenatecio/OpenLeg