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

Utility and Data

Helper functions and datasets

get_variable_info()
Check Each Function's Manual 檢查各函式說明文件
review_session_info()
Check Session Periods in Each Year (Minguo Calendar) 檢查每年會期 (民國曆)
legis_keywords
Legislative Keywords for Text Analysis