Introduction
RESTful API Path Structure
- basepath: /api/ {version} / {format} / {command} / {argument}
- full output (w/ text and memo fields!):
- HTML: /api/1.0/html/bill/{senate or assembly bill id}
- JSON: /api/1.0/json/bill/{senate or assembly bill id}
- XML: /api/1.0/xml/bill/{senate or assembly bill id}
- RSS: XML: /api/1.0/rss/bill/{senate or assembly bill id}
- CSV: /api/1.0/csv/bill/{senate or assembly bill id}
Other search paths:
- /api/1.0/{format}/committee/{committee name}
- /api/1.0/{format}/sponsor/{sponsor last name}
- /api/1.0/{format}/search/{free text search of summary, text or memo}
where {format} = xml, json, rss, csv, html
Here a links to the various views of Senate bill S21:
Output of bills from the transportation committee:
RSS of all recent floor actions: RSS: http://open.nysenate.gov/legislation/feed/