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

View name:
senators
Displays:
Display ID Description
default Returns a list of Senators with Head Shots and Districts
page_1 Returns a list of Senators with Head Shots and Districts
page_2 Returns the Senator's Email
page_3 Returns a list of Inactive Senators with Head Shots and Former Districts
page_4 Returns a list of Senators with Head Shots, Districts, and Image File Paths

Committees

View name:
committees
Displays:
Display ID Description
default Returns a list of Node Titles whose type is Committee
page_1 Returns a list of Node Titles whose type is Committee and whose taxonomy is Standing
block_1 Returns a list of Node Titles whose type is Committee and whose taxonomy is Standing
page_2 Returns a list of Node Titles whose type is Committee and whose taxonomy is Temporary
block_2 Returns a list of Node Titles whose type is Committee and whose taxonomy is Temporary
page_3 Returns a list of Node Titles whose type is Committee and whose taxonomy is Task Force & Other Entities
block_3 Returns a list of Node Titles whose type is Committee and whose taxonomy is Task Force & Other Entities
page_4 Returns a list of Node Titles whose type is Committee and whose taxonomy is Subcommittee
block_4 Returns a list of Node Titles whose type is Committee and whose taxonomy is Subcommittee
page_5 Returns a list of Node Titles whose type is Committee and whose taxonomy is Legislative Commissions
block_5 Returns a list of Node Titles whose type is Committee and whose taxonomy is Legislative Commissions

Senate-wide Calendar

View name:
global_calendar
Displays:
Display ID Description
default Returns the most recent Calendar of all Events
calendar_1 Returns the most recent Calendar of all Events
calendar_block_1 Returns the most recent Calendar of all Events
calendar_period_1 Returns a Calendar of Events for the specified Year
calendar_period_2 Returns a Calendar of Events for the specified Month
calendar_period_3 Returns a Calendar of Events for the specified Day
calendar_period_4 Returns a Calendar of Events for the specified Day
calendar_period_5 Returns the most recent Calendar of all Events
block_1 Returns a List of Upcoming Events
block_2 Returns a Calendar of Events for Today

Individual Senators' Calendars

View name:
events_calendar
Displays:
Display ID Description
default Returns the most recent Calendar of all Events for the specified Senator
calendar_1 Returns the most recent Calendar of all Events for the specified Senator
calendar_block_1 Returns the most recent Calendar of all Events for the specified Senator
calendar_period_1 Returns a Calendar of Events for the specified Year for the specified Senator
calendar_period_2 Returns a Calendar of Events for the specified Month for the specified Senator
calendar_period_3 Returns a Calendar of Events for the specified Day for the specified Senator
calendar_period_4 Returns a Calendar of Events for the specified Day for the specified Senator
calendar_period_5 Returns the most recent Calendar of all Events for the specified Senator
block_1 Returns a List of Upcoming Events for the specified Senator

Photo and Video Galleries

View name:
gallery
Displays:
Display ID Description
default Returns a list of Node Titles and Files
page_1 Returns a List of Videos from the Main Video Gallery
page_2 Returns a List of all Photos and Videos related to the specified Senator
block_1 Returns a List of all Photos and Videos related to the specified Senator
page_3 Returns a list of Videos related to the specified Senator
page_4 Returns a List of Videos from the Main Photo Gallery
block_2 Returns a List of Videos from the Main Photo Gallery
block_3 Returns a List of Videos from the Main Video Gallery
page_5 Returns a List of all Photos and Videos for the Senate
page_6 Returns a list of Photos related to the specified Senator
block_4 Returns a list of Photos related to the specified Senator
page_7 Returns a list of Videos from the Main Video Gallery, without thumbnails

Senate Updates

View name:
senate_updates
Displays:
Display ID Description
default Returns a list of all Senate Updates
page_2 Returns a list of all Senate Updates
block_1 Returns a list of Updates related to the specified Senator
block_2 Returns a list of Updates related to the specified Senator