Skip to content

API V1 - Basic Data

Basic data retrieval functions from old Legislative Yuan API

get_bills()
The Records of the Bills
get_bills_2()
The Records of Legislation and the Executives Proposals
get_meetings()
The Spoken Meeting Records
get_committee_record()
The Records of Reviewed Items in the Committees
get_legislators()
The Legislator' Demographic Information and Background

API V1 - Parliamentary Activities

Functions for parliamentary activities from old API

get_parlquestions()
The Records of Parliamentary Questions
get_caucus_meetings()
The Meeting Records of Cross-caucus Session
get_executive_response()
The Records of Response to the Questions by the Executives
get_public_debates()
The Records of National Public Debates
get_speech_video()
The Video Information of Meetings and Committees

API V2 - Bills and Committees

New API functions for bills and committee information

get_ly_bills()
Fetch and Parse Legislative Yuan Bills
get_ly_committee_meets()
Fetch Legislative Yuan Committee Meetings
get_ly_committees_type()
Fetch and Parse Legislative Yuan Committee Details, Jurisdiction and Codes
get_ly_interpellations()
Get Legislative Yuan Interpellation Records
get_ly_ivod()
Fetch Legislative Yuan IVOD (Video) Records

API V2 - Legislator Information

New API functions for legislator-specific data

get_ly_legislator_bills()
Get Bill by legislator
get_ly_legislator_cosign_bills()
Fetch Bills Cosigned by a Legislator
get_ly_legislators_by_term()
Fetch Legislators List for a Specific Term
get_ly_legislator_detail()
Fetch Legislator Detail Information
get_tly_stat()
Fetch and Parse Legislative Yuan Statistics

Analysis Tools

Functions for data analysis and reporting

analyze_bills()
Analyze Legislative Bills Statistics
analyze_ivod()
Analyze Legislative Video (IVOD) Statistics
analyze_meetings()
Analyze Legislative Meeting Statistics
generate_report()
Generate Legislative Yuan Summary Statistics Report
calculate_bill_trends()
Calculate Legislative Bill Trends and Metrics
bill_to_network()
Convert Bill Data to Network Graph

Utility and Data

Helper functions and datasets

get_variable_info()
Check Each Function's Manual
review_session_info()
Check Session Periods in Each Year
legis_keywords
Legislative Keywords for Text Analysis