國會調查兵團開放API

編輯歷史

時間 作者 版本
2015-12-25 09:48 – 09:51 Gene r1073 – r1081
顯示 diff
(diff 過大,略過)
2015-04-17 16:08 – 16:10 雨蒼 林 r1022 – r1072
顯示 diff
(diff 過大,略過)
2015-04-17 16:08 (unknown) r1021
顯示 diff
(diff 過大,略過)
2015-04-17 15:49 – 16:08 雨蒼 林 r677 – r1020
顯示 diff
(557 行未修改)
*term_start: 任期開始
*term_end: 任期結束
+
+
+
+ 整體公督盟記錄
+ https://cic.tw/ccws/:id.json
+ ex:
+ https://cic.tw/videos/1.json
+
+ *GET參數
+ callback:JSONP用的callback參數
+
+ *回應
+ ---
+
+ *status:"success"
+ *ad_session 會期資料
+ *id: 會期id
+ *name:會期名稱
+ *ad_id:會期所屬的屆次id
+ *date_start:會期開始時間
+ *date_end:會期結束時間
+ *session:會期所屬的次數(第四會期)
+ *regular:是否為正式會期
+ *ccw
+ *citizen_score:公民評鑑分數
+ *ad_session_id
+ *id
+ *total:該會期公民評鑑滿分
+ *average:該會期公民評鑑平均得分
+ *ccw_link:公民評鑑相關連結
+ *committees 各委員會數據
+ *ad_session_id
+ *id
+ *committee_id
+ *should_attend_count:應出席數
+ *actually_average_attend_count:平均出席數
+ *avaliable_interpellation_count:可質詢數
+ *actually_average_interpellation_count:質詢平均次數
+ *committee:委員會資料
+ *id
+ *name:委員會名稱
+ *kind:委員會種類,yc院會,sc普通委員會,ac特種委員會
+ *legislators:立委個人數據
+ *ys_attend_count:院會實際出席數
+ *sc_attend_count:委員會實際出席數
+ *sc_interpellation_count:委員會實際質詢數
+ *first_proposal_count:主提案第一人案數
+ *not_first_proposal_count:非主提案第一人案數
+ *budgetary_count:預算案提案數
+ *auditing_count:決算審查提案數
+ *citizen_score:公民評鑑得分數
+ *new_sunshine_bills:陽光公益法案-新立
+ *modify_sunshine_bills:陽光公益法案-修正
+ *budgetary_deletion_passed:預算刪減案-三讀通過
+ *budgetary_deletion_impact:預算刪減案-重大公益
+ *budgetary_deletion_special:預算刪減案-特殊事蹟
+ *special:特殊事蹟
+ *conflict_expose:利益衝突接露
+ *allow_visitor:開放旁聽
+ *human_rights_infringing_bill:侵害人權法案提案
+ *human_rights_infringing_budgetary:侵害人權預算案
+ *judicial_case:司法案件
+ *disorder:脫序表現
+ *
+
+
+
+
+
+
+ "legislator": {
+ "id": 515,
+ "name": "丁守中",
+ "description": null,
+ "image": "515.jpg",
+ "in_office": true,
+ "now_party_id": null,
+ "fb_link": "https://www.facebook.com/tingshouchung",
+ "wiki_link": "http://zh.wikipedia.org/wiki/丁守中",
+ "musou_link": "http://musou.tw/legislators/2",
+ "ccw_link": "http://www.ccw.org.tw/node/15162",
+ "ivod_link": "http://ivod.ly.gov.tw/Legislator#lglt=2866"
+ }
2015-04-07 13:49 – 13:50 雨蒼 林 r659 – r676
顯示 diff
(128 行未修改)
*term_start: 任期開始
*term_end: 任期結束
- *questions: 質詢列表,內容請參見下面
+ *qinterpellaions: 質詢列表,內容請參見下面
*entries: 新聞列表,內容請參見下面
*videos: 影片列表,內容請參見下面
(79 行未修改)
單一立委的質詢記錄
- https://cic.tw/legislators/:id/questions.json
+ https://cic.tw/legislators/:id/qinterpellation.json
ex:
- https://cic.tw/legislators/1738/questions.json
+ https://cic.tw/legislators/1738/qinterpellation.json
*GET參數
(6 行未修改)
---
* status: "success"
- * questions:
+ * qinterpellaions:
* -
*id: 質詢id
(95 行未修改)
所有的質詢記錄
- https://cic.tw/questions.json
+ https://cic.tw/qinterpellation.json
*GET參數
(6 行未修改)
---
* status: "success"
- * questions:
+ * qinterpellaions:
* -
*id: 質詢id
(39 行未修改)
單一質詢記錄
- https://cic.tw/questions/:id.json
+ https://cic.tw/qinterpellation/:id.json
ex:
- https://cic.tw/questions/1.json
+ https://cic.tw/qinterpellation/1.json
*GET參數
(3 行未修改)
---
* status: "success"
- * question:
+ * qinterpellaion:
* -
*id: 質詢id
(164 行未修改)
2015-02-14 01:49 – 01:49 雨蒼 林 r652 – r658
顯示 diff
(3 行未修改)
這邊是國會調查兵團網站的開放API,歡迎介接。
- 內容以CC-BY-ND 3.0 TW釋出。
+ 內容以CC-BY 4. 出。
國會調查兵團網站介紹:
(551 行未修改)
2015-02-05 17:07 – 17:07 雨蒼 林 r650 – r651
顯示 diff
(4 行未修改)
這邊是國會調查兵團網站的開放API,歡迎介接。
內容以CC-BY-ND 3.0 TW釋出。
+
+ 國會調查兵團網站介紹:
+
+ https://cic.tw/about
網站code以MIT釋出。
(547 行未修改)
2015-02-05 15:41 – 15:58 雨蒼 林 r600 – r649
顯示 diff
(19 行未修改)
offset:從第幾筆開始
query:查詢立委姓名
+ callback:JSONP用的callback參數
*回應
(21 行未修改)
offset:從第幾筆開始
query:查詢立委姓名
+ callback:JSONP用的callback參數
*回應
(21 行未修改)
offset:從第幾筆開始
query:查詢立委姓名
+ callback:JSONP用的callback參數
*回應
(20 行未修改)
立委使用g0v的資料,id相同。
+ *GET參數
+ callback:JSONP用的callback參數
*回應
(35 行未修改)
limit:限制筆數
offset:從第幾筆開始
- query:查詢立委姓名
+ query:查詢新聞標題、內容
+ callback:JSONP用的callback參數
*回應
(19 行未修改)
limit:限制筆數
offset:從第幾筆開始
- query:查詢立委姓名
+ query:查詢影片標題、內容
+ callback:JSONP用的callback參數
*回應
(47 行未修改)
limit:限制筆數
offset:從第幾筆開始
- query:查詢立委姓名
+ query:查詢質詢標題、內容
+ callback:JSONP用的callback參數
*回應
(37 行未修改)
所有的新聞記錄
https://cic.tw/entries.json
+
*GET參數
limit:限制筆數
offset:從第幾筆開始
- query:查詢立委姓名
+ query:查詢新聞標題、內容
+ callback:JSONP用的callback參數
*回應
(25 行未修改)
ex:
https://cic.tw/entries/1.json
+
+ *GET參數
+ callback:JSONP用的callback參數
*回應
(26 行未修改)
limit:限制筆數
offset:從第幾筆開始
- query:查詢立委姓名
+ query:查詢質詢標題、內容
+ callback:JSONP用的callback參數
*回應
(48 行未修改)
https://cic.tw/questions/1.json
+ *GET參數
+ callback:JSONP用的callback參數
*回應
(48 行未修改)
limit:限制筆數
offset:從第幾筆開始
- query:查詢立委姓名
+ query:查詢影片標題、內容
+ callback:JSONP用的callback參數
*回應
(53 行未修改)
https://cic.tw/videos/1.json
- *參數
- limit:限制筆數
- offset:從第幾筆開始
- query:查詢立委姓名
+ *GET參數
+ callback:JSONP用的callback參數
*回應
(56 行未修改)
2015-02-05 15:36 kiang r599
顯示 diff
(540 行未修改)
2015-02-05 13:55 – 15:36 雨蒼 林 r21 – r598
顯示 diff
國會調查兵團開放API
+
+ *介紹
+
+ 這邊是國會調查兵團網站的開放API,歡迎介接。
+ 內容以CC-BY-ND 3.0 TW釋出。
+
+ 網站code以MIT釋出。
+
+ https://github.com/billy3321/cic-website
+
+
+ *API內容
+
+ 立委列表
https://cic.tw/legislators.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * legislators:
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *count: 筆數
+
+
+
+ 有記錄的立委
+ https://cic.tw/legislators/has_records.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * legislators:
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *count: 筆數
+
+
+
+ 無記錄的立委
+ https://cic.tw/legislators/no_record.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * legislators:
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *count: 筆數
+
+
+ 單一立委
+ https://cic.tw/legislators/:id.json
+ ex:
+ https://cic.tw/legislators/1738.json
+
+ 立委使用g0v的資料,id相同。
+
+
+ *回應
+ ---
+ * status: "success"
+ * legislator:
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *elections
+ *legislator_id: 立委id
+ *id: 選舉id
+ *ad_id: 屆次id
+ *party_id: 黨id
+ *constituency: 參選區域
+ *ad:
+ *id: 屆次id
+ *name: 屆次名
+ *vote_date:投票日期
+ *term_start: 任期開始
+ *term_end: 任期結束
+ *questions: 質詢列表,內容請參見下面
+ *entries: 新聞列表,內容請參見下面
+ *videos: 影片列表,內容請參見下面
+
+
+ 單一立委的新聞記錄
+ https://cic.tw/legislators/:id/entries.json
+ ex:
+ https://cic.tw/legislators/1738/entries.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ * status: "success"
+ * entries:
+ *id: 新聞id
+ *title: 新聞標題
+ *content: 新聞內容
+ *source_url: 新聞來源網址
+ *source_name: 新聞來源名稱
+ *date: 新聞日期
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ * count: 新聞筆數
+
+
+ 單一立委的影片記錄
+ https://cic.tw/legislators/:id/videos.json
+ ex:
+ https://cic.tw/legislators/1738/videos.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * videos:
+ *id: 影片id
+ *title: 影片標題
+ *content: 影片內容
+ *video_type: 影片種類:"ivod" or "news"
+ *committee_id: 委員會id
+ *ad_session_id: 會期id
+ *meeting_description: 會議內容
+ *youtube_url: youtube網址
+ *youtube_id: youtube id
+ *image: 影片縮圖
+ *ivod_url: ivod網址
+ *source_url: 來源網址
+ *source_name: 來源名稱
+ *time_start: 開始時間
+ *time_end: 結束時間
+ *date: 影片發生時間
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *target: 質詢對象
+ *ad_session:
+ *id: 會期id
+ *name: 會期名稱
+ *ad_id: 屆次id
+ *date_start: 會期開始時間
+ *date_end: 會期結束時間
+ *committee:
+ *id: 委員會id
+ *name: 委員會名稱
+ *ad:
+ *id: 屆次id
+ *name: 屆次名
+ *vote_date:投票日期
+ *term_start: 任期開始
+ *term_end: 任期結束
+ * count: 影片筆數
+
+
+
+ 單一立委的質詢記錄
+ https://cic.tw/legislators/:id/questions.json
+ ex:
+ https://cic.tw/legislators/1738/questions.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * questions:
+ * -
+ *id: 質詢id
+ *title: 質詢標題
+ *content: 質詢內容
+ *committee_id: 所屬委員會id
+ *ad_session_id: 會期id
+ *meeting_description: 會議內容
+ *ivod_url: ivod網址
+ *time_start: 開始時間
+ *time_end: 結束時間
+ *target: 質詢對象
+ *date: 質詢發生時間
+ *comment: 意見
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *ad_session:
+ *id: 會期id
+ *name: 會期名
+ *ad_id: 會期所屬屆次id
+ *date_start: 會期開始
+ *date_end: 會期結束
+ *committee:
+ *id: 委員會id
+ *name: 委員會名字
+ *ad:
+ *id: 屆次id
+ *name: 屆次名
+ *vote_date:投票日期
+ *term_start: 任期開始
+ *term_end: 任期結束
+ * count: 質詢筆數
+
+
+
+ 所有的新聞記錄
+ https://cic.tw/entries.json
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ * status: "success"
+ * entries:
+ *id: 新聞id
+ *title: 新聞標題
+ *content: 新聞內容
+ *source_url: 新聞來源網址
+ *source_name: 新聞來源名稱
+ *date: 新聞日期
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *legislators
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ * count: 新聞筆數
+
+
+ 單一新聞記錄
+ https://cic.tw/entries/:id.json
+ ex:
+ https://cic.tw/entries/1.json
+
+ *回應
+ * status: "success"
+ * entry:
+ *id: 新聞id
+ *title: 新聞標題
+ *content: 新聞內容
+ *source_url: 新聞來源網址
+ *source_name: 新聞來源名稱
+ *date: 新聞日期
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *legislators
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+
+
+ 所有的質詢記錄
+ https://cic.tw/questions.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * questions:
+ * -
+ *id: 質詢id
+ *title: 質詢標題
+ *content: 質詢內容
+ *committee_id: 所屬委員會id
+ *ad_session_id: 會期id
+ *meeting_description: 會議內容
+ *ivod_url: ivod網址
+ *time_start: 開始時間
+ *time_end: 結束時間
+ *target: 質詢對象
+ *date: 質詢發生時間
+ *comment: 意見
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *ad_session:
+ *id: 會期id
+ *name: 會期名
+ *ad_id: 會期所屬屆次id
+ *date_start: 會期開始
+ *date_end: 會期結束
+ *committee:
+ *id: 委員會id
+ *name: 委員會名字
+ *legislators
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *ad:
+ *id: 屆次id
+ *name: 屆次名
+ *vote_date:投票日期
+ *term_start: 任期開始
+ *term_end: 任期結束
+ * count: 質詢筆數
+
+ 單一質詢記錄
+ https://cic.tw/questions/:id.json
+ ex:
+ https://cic.tw/questions/1.json
+
+
+ *回應
+ ---
+ * status: "success"
+ * question:
+ * -
+ *id: 質詢id
+ *title: 質詢標題
+ *content: 質詢內容
+ *committee_id: 所屬委員會id
+ *ad_session_id: 會期id
+ *meeting_description: 會議內容
+ *ivod_url: ivod網址
+ *time_start: 開始時間
+ *time_end: 結束時間
+ *target: 質詢對象
+ *date: 質詢發生時間
+ *comment: 意見
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *ad_session:
+ *id: 會期id
+ *name: 會期名
+ *ad_id: 會期所屬屆次id
+ *date_start: 會期開始
+ *date_end: 會期結束
+ *committee:
+ *id: 委員會id
+ *name: 委員會名字
+ *legislators
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *ad:
+ *id: 屆次id
+ *name: 屆次名
+ *vote_date:投票日期
+ *term_start: 任期開始
+ *term_end: 任期結束
+
+ 所有的影片記錄
+ https://cic.tw/videos.json
+
+ *GET參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * videos:
+ *id: 影片id
+ *title: 影片標題
+ *content: 影片內容
+ *video_type: 影片種類:"ivod" or "news"
+ *committee_id: 委員會id
+ *ad_session_id: 會期id
+ *meeting_description: 會議內容
+ *youtube_url: youtube網址
+ *youtube_id: youtube id
+ *image: 影片縮圖
+ *ivod_url: ivod網址
+ *source_url: 來源網址
+ *source_name: 來源名稱
+ *time_start: 開始時間
+ *time_end: 結束時間
+ *date: 影片發生時間
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *target: 質詢對象
+ *ad_session:
+ *id: 會期id
+ *name: 會期名稱
+ *ad_id: 屆次id
+ *date_start: 會期開始時間
+ *date_end: 會期結束時間
+ *committee:
+ *id: 委員會id
+ *name: 委員會名稱
+ *legislators
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *ad:
+ *id: 屆次id
+ *name: 屆次名
+ *vote_date:投票日期
+ *term_start: 任期開始
+ *term_end: 任期結束
+ * count: 影片筆數
+
+
+ 單一影片記錄
+ https://cic.tw/videos/:id.json
+ ex:
+ https://cic.tw/videos/1.json
+
+ *參數
+ limit:限制筆數
+ offset:從第幾筆開始
+ query:查詢立委姓名
+
+ *回應
+ ---
+ * status: "success"
+ * video:
+ *id: 影片id
+ *title: 影片標題
+ *content: 影片內容
+ *video_type: 影片種類:"ivod" or "news"
+ *committee_id: 委員會id
+ *ad_session_id: 會期id
+ *meeting_description: 會議內容
+ *youtube_url: youtube網址
+ *youtube_id: youtube id
+ *image: 影片縮圖
+ *ivod_url: ivod網址
+ *source_url: 來源網址
+ *source_name: 來源名稱
+ *time_start: 開始時間
+ *time_end: 結束時間
+ *date: 影片發生時間
+ *created_at: 建立時間
+ *updated_at: 更新時間
+ *target: 質詢對象
+ *ad_session:
+ *id: 會期id
+ *name: 會期名稱
+ *ad_id: 屆次id
+ *date_start: 會期開始時間
+ *date_end: 會期結束時間
+ *committee:
+ *id: 委員會id
+ *name: 委員會名稱
+ *legislators
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫legislators
+ *id: 立委id
+ *name: 立委名字
+ *image: 圖片
+ *in_office: 是否在職
+ *party:
+ *id: 黨id
+ *name: 黨名
+ *image: 黨圖片
+ *abbreviation: 黨縮寫
+ *ad:
+ *id: 屆次id
+ *name: 屆次名
+ *vote_date:投票日期
+ *term_start: 任期開始
+ *term_end: 任期結束
2015-02-05 09:26 – 09:27 雨蒼 林 r1 – r20
顯示 diff
- Untitled
-
- This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!
+ 國會調查兵團開放API
+ https://cic.tw/legislators.json
2015-02-05 09:26 (unknown) r0
顯示 diff
+ Untitled
+ This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!