Developers: NYSenate.gov Views

The following views and displays can be retrieved via the New York State Senate's developer API. Other views and displays also exist, but not all of them are documented here yet. If you want to retrieve information from NYSenate.gov via a view that is not documented here, contact the webmaster at rampton@nysenate.gov so that we can prioritize it to be documented.

Senators

senators
Display IDDescription
defaultReturns a list of Senators with Head Shots and Districts
page_1Returns a list of Senators with Head Shots and Districts
page_2Returns the Senator's Email
page_3Returns a list of Inactive Senators with Head Shots and Former Districts
page_4Returns a list of Senators with Head Shots, Districts, and Image File Paths

Committees

committees
Display IDDescription
defaultReturns a list of Node Titles whose type is Committee
page_1Returns a list of Node Titles whose type is Committee and whose taxonomy is Standing
block_1Returns a list of Node Titles whose type is Committee and whose taxonomy is Standing
page_2Returns a list of Node Titles whose type is Committee and whose taxonomy is Temporary
block_2Returns a list of Node Titles whose type is Committee and whose taxonomy is Temporary
page_3Returns a list of Node Titles whose type is Committee and whose taxonomy is Task Force & Other Entities
block_3Returns a list of Node Titles whose type is Committee and whose taxonomy is Task Force & Other Entities
page_4Returns a list of Node Titles whose type is Committee and whose taxonomy is Subcommittee
block_4Returns a list of Node Titles whose type is Committee and whose taxonomy is Subcommittee
page_5Returns a list of Node Titles whose type is Committee and whose taxonomy is Legislative Commissions
block_5Returns a list of Node Titles whose type is Committee and whose taxonomy is Legislative Commissions

Senate-wide Calendar

global_calendar
Display IDDescription
defaultReturns the most recent Calendar of all Events
calendar_1Returns the most recent Calendar of all Events
calendar_block_1Returns the most recent Calendar of all Events
calendar_period_1Returns a Calendar of Events for the specified Year
calendar_period_2Returns a Calendar of Events for the specified Month
calendar_period_3Returns a Calendar of Events for the specified Day
calendar_period_4Returns a Calendar of Events for the specified Day
calendar_period_5Returns the most recent Calendar of all Events
block_1Returns a List of Upcoming Events
block_2Returns a Calendar of Events for Today

Individual Senators' Calendars

events_calendar
Display IDDescription
defaultReturns the most recent Calendar of all Events for the specified Senator
calendar_1Returns the most recent Calendar of all Events for the specified Senator
calendar_block_1Returns the most recent Calendar of all Events for the specified Senator
calendar_period_1Returns a Calendar of Events for the specified Year for the specified Senator
calendar_period_2Returns a Calendar of Events for the specified Month for the specified Senator
calendar_period_3Returns a Calendar of Events for the specified Day for the specified Senator
calendar_period_4Returns a Calendar of Events for the specified Day for the specified Senator
calendar_period_5Returns the most recent Calendar of all Events for the specified Senator
block_1Returns a List of Upcoming Events for the specified Senator

Photo and Video Galleries

gallery
Display IDDescription
defaultReturns a list of Node Titles and Files
page_1Returns a List of Videos from the Main Video Gallery
page_2Returns a List of all Photos and Videos related to the specified Senator
block_1Returns a List of all Photos and Videos related to the specified Senator
page_3Returns a list of Videos related to the specified Senator
page_4Returns a List of Videos from the Main Photo Gallery
block_2Returns a List of Videos from the Main Photo Gallery
block_3Returns a List of Videos from the Main Video Gallery
page_5Returns a List of all Photos and Videos for the Senate
page_6Returns a list of Photos related to the specified Senator
block_4Returns a list of Photos related to the specified Senator
page_7Returns a list of Videos from the Main Video Gallery, without thumbnails

Senate Updates

senate_updates
Display IDDescription
defaultReturns a list of all Senate Updates
page_2Returns a list of all Senate Updates
block_1Returns a list of Updates related to the specified Senator
block_2Returns a list of Updates related to the specified Senator