Skip to content

Instantly share code, notes, and snippets.

@konklone
Created January 10, 2011 22:57
Show Gist options
  • Select an option

  • Save konklone/773645 to your computer and use it in GitHub Desktop.

Select an option

Save konklone/773645 to your computer and use it in GitHub Desktop.
Real Time Congress API collection examples.
{
"amendments": [
{
"actions": [
{
"text": "Amendment SA 4843 proposed by Senator Bingaman for Senator Rockefeller.",
"acted_at": "2010-12-17T12:00:00Z",
"type": "action"
},
{
"text": "Amendment SA 4843 agreed to in Senate by Unanimous Consent.",
"acted_at": "2010-12-17T12:00:00Z",
"type": "vote"
}
],
"number": 4843,
"sponsor_id": "R000361",
"last_action_at": "2010-12-17T12:00:00Z",
"session": 111,
"sponsor_type": "legislator",
"amendment_id": "s4843-111",
"sponsor": {
"title": "Sen",
"nickname": "Jay",
"district": "Senior Seat",
"bioguide_id": "R000361",
"govtrack_id": "300084",
"last_name": "Rockefeller",
"name_suffix": "IV",
"party": "D",
"first_name": "John",
"state": "WV",
"chamber": "senate"
},
"bill": {
"vetoed": false,
"sponsor_id": "G000309",
"number": 5116,
"bill_type": "hr",
"short_title": "America COMPETES Reauthorization Act of 2010",
"senate_result_at": "2010-12-17T12:00:00Z",
"last_action_at": "2010-12-28T12:00:00Z",
"enacted": false,
"cosponsors_count": 101,
"session": 111,
"last_vote_at": "2010-12-21T21:31:00Z",
"house_result_at": "2010-12-21T21:31:00Z",
"code": "hr5116",
"amendments_count": 20,
"passed_at": "2010-12-17T12:00:00Z",
"official_title": "To invest in innovation through research and development, to improve the competitiveness of the United States, and for other purposes.",
"awaiting_signature_since": "2010-12-28T12:00:00Z",
"introduced_at": "2010-04-22T12:00:00Z",
"passed": true,
"awaiting_signature": true,
"senate_result": "pass",
"house_result": "pass",
"popular_title": null,
"state": "PASSED:BILL",
"passage_votes_count": 3,
"chamber": "house",
"bill_id": "hr5116-111"
},
"offered_at": "2010-12-17T12:00:00Z",
"description": "To invest in innovation through research and development, to improve competitiveness of the United States, and for other purposes.",
"bill_id": "hr5116-111",
"chamber": "senate",
"purpose": "To invest in innovation through research and development, to improve competitiveness of the United States, and for other purposes.",
"state": "pass"
}
]
}
{
"bills": [
{
"actions": [
{
"text": "Referred to the House Committee on Ways and Means.",
"acted_at": "2009-09-17T12:00:00Z",
"type": "action"
},
{
"text": "Became Public Law No: 111-148.",
"acted_at": "2010-03-23T12:00:00Z",
"type": "enacted"
}
],
"bill_type": "hr",
"last_action": {
"text": "Became Public Law No: 111-148.",
"acted_at": "2010-03-23T12:00:00Z",
"type": "enacted"
},
"number": 3590,
"sponsor_id": "R000053",
"vetoed": false,
"cosponsors_count": 40,
"enacted": true,
"last_action_at": "2010-03-23T12:00:00Z",
"senate_result_at": "2009-12-24T12:00:00Z",
"short_title": "Patient Protection and Affordable Care Act",
"amendments_count": 506,
"code": "hr3590",
"house_result_at": "2010-03-22T02:48:00Z",
"last_vote_at": "2010-03-22T02:48:00Z",
"passage_votes_count": 3,
"passage_votes": [
{
"result": "pass",
"passage_type": "vote2",
"voted_at": "2009-12-24T12:00:00Z",
"text": "Passed Senate with an amendment and an amendment to the Title by Yea-Nay Vote. 60 - 39. Record Vote Number: 396.",
"how": "roll",
"roll_id": "s396-2009",
"chamber": "senate"
},
{
"result": "pass",
"passage_type": "pingpong",
"voted_at": "2010-03-22T02:48:00Z",
"text": "On motion that the House agree to the Senate amendments Agreed to by recorded vote: 219 - 212 (Roll no. 165).",
"how": "roll",
"roll_id": "h165-2010",
"chamber": "house"
}
],
"session": 111,
"committees": {
"HSWM": {
"activity": [
"referral"
],
"committee": {
"name": "House Committee on Ways and Means",
"committee_id": "HSWM",
"chamber": "house"
}
}
},
"official_title": "An act entitled The Patient Protection and Affordable Care Act.",
"titles": [
{
"title": "Health care reform bill",
"type": "popular",
"as": ""
},
{
"title": "Patient Protection and Affordable Care Act",
"type": "short",
"as": "enacted"
},
{
"title": "An act entitled The Patient Protection and Affordable Care Act.",
"type": "official",
"as": "amended by senate"
}
],
"committee_ids": [
"HSWM"
],
"introduced_at": "2009-09-17T12:00:00Z",
"related_bills": {
"unknown": [
"hcres254-111",
"hres1203-111",
"hr3780-111",
"hr4872-111",
"s1728-111",
"s1790-111"
]
},
"sponsor": {
"title": "Rep",
"nickname": "Charlie",
"district": "15",
"bioguide_id": "R000053",
"govtrack_id": "400333",
"last_name": "Rangel",
"name_suffix": "",
"party": "D",
"first_name": "Charles",
"state": "NY",
"chamber": "house"
},
"awaiting_signature": false,
"amendments": [
{
"sponsor_id": "A000069",
"number": 3084,
"last_action_at": null,
"session": 111,
"amendment_id": "s3084-111",
"offered_at": "2009-12-09T12:00:00Z",
"description": "Amendment information not available.",
"state": "offered",
"purpose": "Amendment information not available.",
"chamber": "senate",
"bill_id": "hr3590-111"
},
{
"sponsor_id": "S000709",
"number": 3175,
"last_action_at": null,
"session": 111,
"amendment_id": "s3175-111",
"offered_at": "2009-12-11T12:00:00Z",
"description": "Amendment information not available.",
"state": "offered",
"purpose": "Amendment information not available.",
"chamber": "senate",
"bill_id": "hr3590-111"
}
],
"enacted_at": "2010-03-23T12:00:00Z",
"house_result": "pass",
"senate_result": "pass",
"summary": "3/23/2010--Public Law. Patient Protection and Affordable Care Act - Title I: Quality, Affordable Health Care for All Americans",
"cosponsor_ids": [
"F000116",
"M000312"
],
"cosponsors": [
{
"title": "Rep",
"nickname": "",
"district": "51",
"bioguide_id": "F000116",
"govtrack_id": "400133",
"last_name": "Filner",
"name_suffix": "",
"party": "D",
"first_name": "Bob",
"state": "CA",
"chamber": "house"
},
{
"title": "Rep",
"nickname": "Jim",
"district": "3",
"bioguide_id": "M000312",
"govtrack_id": "400263",
"last_name": "McGovern",
"name_suffix": "",
"party": "D",
"first_name": "James",
"state": "MA",
"chamber": "house"
}
],
"popular_title": "Health care reform bill",
"amendment_ids": [
"s3084-111",
"s3175-111"
],
"bill_id": "hr3590-111",
"chamber": "house",
"keywords": [
"Taxation",
"Abortion",
"Veterans' medical care",
"Women's health"
]
}
]
}
{
"committee_hearings": [
{
"legislative_day": "2011-01-07",
"occurs_at": "2011-01-07T09:30:00Z",
"time_of_day": "09:30AM",
"committee": {
"name": "Senate Committee on the Budget",
"committee_id": "SSBU",
"chamber": "senate"
},
"description": "Hearings to examine the United States economic outlook focusing on challenges for the monetary and fiscal policy.",
"committee_id": "SSBU",
"room": "SH-216",
"chamber": "senate"
},
{
"legislative_day": "2010-12-21",
"occurs_at": "2010-12-21T15:30:00Z",
"time_of_day": "03:30PM",
"committee": {
"name": "Senate Select Committee on Intelligence",
"committee_id": "SLIN",
"chamber": "senate"
},
"description": "Closed hearings to examine certain intelligence matters.",
"committee_id": "SLIN",
"room": "SH-219",
"chamber": "senate"
}
]
}
{
"documents": [
{
"session": 112,
"notice_type": "daily",
"url": "http://www.democraticwhip.gov/content/daily-whip-tuesday-february-8-2011",
"for_date": "2011-02-08",
"party": "D",
"document_type": "whip_notice",
"chamber": "house",
"posted_at": "2011-02-08T14:04:29Z"
},
{
"session": 112,
"notice_type": "daily",
"url": "http://majorityleader.house.gov/floor/2-8-11.pdf",
"for_date": "2011-02-08",
"party": "R",
"document_type": "whip_notice",
"chamber": "house",
"posted_at": "2011-02-08T00:00:00Z"
},
{
"session": 112,
"notice_type": "weekly",
"url": "http://majorityleader.house.gov/floor/2-7-11.pdf",
"for_date": "2011-02-07",
"document_type": "whip_notice",
"party": "R",
"chamber": "house",
"posted_at": "2011-02-07T00:00:00Z"
},
{
"session": 112,
"notice_type": "weekly",
"url": "http://www.democraticwhip.gov/content/weekly-whip-friday-february-4-2011",
"for_date": "2011-02-04",
"document_type": "whip_notice",
"party": "D",
"chamber": "house",
"posted_at": "2011-02-04T21:36:03Z"
},
]
}
{
"floor_updates": [
{
"timestamp": "2011-01-07T13:35:00Z",
"legislative_day": "2011-01-07",
"events": [
"The Speaker announced that the House do now recess. The next meeting is subject to the call of the Chair."
],
"chamber": "house"
},
{
"timestamp": "2011-01-07T12:04:00Z",
"bioguide_ids": [
"P000592",
"P000583",
"B000208"
],
"legislative_day": "2011-01-07",
"events": [
"Mr. Poe of TX requested the following general leaves to address the House on January 11: Mr. Bartlett for 5 min and Mr. Paul for 5 min.",
"Mr. Poe of TX requested the following general leaves to address the House on January 12: Mr. Paul for 5 min.",
"SPECIAL ORDER SPEECHES - The House has concluded all anticipated legislative business and has proceeded to Special Order speeches."
],
"chamber": "house"
},
{
"timestamp": "2011-01-07T11:08:00Z",
"bills": [
"hres26-112",
"hres27-112"
],
"legislative_day": "2011-01-07",
"events": [
"DEBATE - Pursuant to H.Res. 26, the House proceeded with four minutes of debate on H. Res. 27."
],
"chamber": "house"
}
]
}
{
"videos": [
{
"duration": 36120,
"pubdate": "2010-12-17T12:00z",
"legislator_names": [
"Mr. Holt",
"Mr. Cuellar"
],
"clip_id": 4760,
"pubDate": "2010-12-17T12:00z",
"video_id": "house-1292587200",
"bioguide_ids": [
"H001032",
"C001063"
],
"session": 111,
"title": "LEGISLATIVE DAY OF DECEMBER 17, 2010 - Dec 17, 2010",
"bills": [
"hres1767-111",
"hres1621-111",
"s3592-111",
],
"legislative_day": "2010-12-17",
"clips": [
{
"duration": 420,
"legislator_names": [
"Mr. Cuellar"
],
"bioguide_ids": [
"C001063"
],
"bills": [
"s3592-111"
],
"time": "2010-12-17T09:08:00Z",
"events": [
"Mr. Cuellar moved to suspend the rules and pass the bill.",
"Considered under suspension of the rules.",
"DEBATE - The House proceeded with forty minutes of debate on S. 3592."
],
"offset": 492
},
{
"duration": 600,
"legislator_names": [
"Mr. Holt"
],
"bioguide_ids": [
"H001032"
],
"bills": [
"hres1767-111",
"hres1621-111"
],
"time": "2010-12-17T09:49:00Z",
"events": [
"H. Res. 1621: recognizing the 100th anniversary of the historic founding of Catholic Charities USA",
"Mr. Holt moved to suspend the rules and agree to the resolution.",
"Considered under suspension of the rules.",
"DEBATE - The House proceeded with forty minutes of debate on H. Res. 1767."
],
"offset": 2952
}
],
"description": "HouseLive.gov feed for December 17, 2010",
"clip_urls": {
"mp3": "http://podcache-101.granicus.com/clerkhouse/clerkhouse_4e4ff5fa-f39f-4ec7-ac6b-bc29612d3def.mp3",
"mp4": "http://podcache-101.granicus.com/clerkhouse/clerkhouse_4e4ff5fa-f39f-4ec7-ac6b-bc29612d3def.mp4",
"mms": "mms://207.7.154.96/clerkhouse/clerkhouse_4e4ff5fa-f39f-4ec7-ac6b-bc29612d3def.wmv?wmcache=0"
},
"chamber": "house"
}
]
}
{
"videos": [
{
"title": "Greening America's Cities ",
"status": "upcoming",
"chamber": "whitehouse",
"start_time": "2011-01-18T18:30:00Z"
},
{
"pubdate": "2011-01-18T12:00-0500",
"title": "Briefing by Press Secretary Robert Gibbs",
"video_id": "whitehouse-1295352000-briefing-press-secretary-robert-gibbs-109",
"status": "live",
"clip_urls": {
"hls": "http://liveips.whitehouse.gov/Live3/mbr.m3u8"
},
"chamber": "whitehouse",
"start_time": "2011-01-18T17:00:00Z"
},
{
"pubdate": "Wed, 31 Mar 2010 23:29:43 +0000",
"category": "The First Lady",
"title": "Planting the Spring Garden",
"video_id": "whitehouse-planting-spring-garden",
"description": "",
"status": "archived",
"clip_urls": {
"mp4": "http://www.whitehouse.gov/videos/2010/March/033110_FLOTUS_Garden.m4v"
},
"chamber": "whitehouse"
},
{
"pubdate": "Wed, 29 Sep 2010 19:25:02 +0000",
"category": "Speeches",
"title": "Discussing the Economy in Richmond",
"video_id": "whitehouse-discussing-economy-richmond",
"description": "President Obama holds a discussion on the economy with local families in Richmond, VA.",
"status": "archived",
"clip_urls": {
"mp4": "http://www.whitehouse.gov/videos/2010/September/093010_RichmondVA.mp4"
},
"chamber": "whitehouse"
}
]
}
{
"votes": [
{
"number": 165,
"required": "1/2",
"result": "Passed",
"session": 111,
"voted_at": "2010-03-22T02:49:00Z",
"voter_ids": {
"H000627": "Yea",
"F000444": "Nay"
},
"voters": {
"H000627": {
"vote": "Yea",
"voter": {
"title": "Rep",
"nickname": "",
"district": "22",
"bioguide_id": "H000627",
"govtrack_id": "400178",
"last_name": "Hinchey",
"name_suffix": "",
"party": "D",
"first_name": "Maurice",
"state": "NY",
"chamber": "house"
}
},
"F000444": {
"vote": "Nay",
"voter": {
"title": "Rep",
"nickname": "",
"district": "6",
"bioguide_id": "F000444",
"govtrack_id": "400134",
"last_name": "Flake",
"name_suffix": "",
"party": "R",
"first_name": "Jeff",
"state": "AZ",
"chamber": "house"
}
}
},
"how": "roll",
"vote_breakdown": {
"total": {
"Not Voting": 0,
"Nay": 212,
"Present": 0,
"Yea": 219
},
"party": {
"D": {
"Not Voting": 0,
"Nay": 34,
"Present": 0,
"Yea": 219
},
"R": {
"Not Voting": 0,
"Nay": 178,
"Present": 0,
"Yea": 0
}
}
},
"vote_type": null,
"bill": {
"vetoed": false,
"sponsor_id": "R000053",
"number": 3590,
"bill_type": "hr",
"short_title": "Patient Protection and Affordable Care Act",
"senate_result_at": "2009-12-24T12:00:00Z",
"last_action_at": "2010-03-23T12:00:00Z",
"enacted": true,
"cosponsors_count": 40,
"session": 111,
"house_result_at": "2010-03-22T02:48:00Z",
"code": "hr3590",
"amendments_count": 506,
"passed_at": "2009-12-24T12:00:00Z",
"official_title": "An act entitled The Patient Protection and Affordable Care Act.",
"introduced_at": "2009-09-17T12:00:00Z",
"passed": true,
"awaiting_signature": false,
"senate_result": "pass",
"house_result": "pass",
"enacted_at": "2010-03-23T12:00:00Z",
"popular_title": "Health care reform bill",
"state": "ENACTED:SIGNED",
"passage_votes_count": 3,
"chamber": "house",
"bill_id": "hr3590-111"
},
"year": 2010,
"question": "On Motion to Concur in Senate Amendments: H R 3590 Patient Protection and Affordable Care Act",
"roll_id": "h165-2010",
"bill_id": "hr3590-111",
"chamber": "house",
"roll_type": "On Motion to Concur in Senate Amendments"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment