The How'd They Vote API

Using this Application Programming Interface (API), you can acquire the voting and speaking history of Canadian politicians, including information on legislation. Postal Code lookups are also available to allow constituents to find their representatives and ridings. Requests are made using the simple HTTP GET method, and responses are available in various machine-readable formats.

An API key is required for use. Please generate an API key to get started. Some code examples are also available to get you rolling.


Common Parameters

ParameterRequiredValue
CallYes FindMember, FindRiding, GetActivity, GetBallots,
GetBills, GetHansards, GetHouses, GetMembers,
GetQuotes, GetSessions, GetVotes
KeyYesYour 10 digit API key
FormatNoXML, JSON (default is XML)
LangNoEN, FR (default is EN)



GetActivity

returns a summary of recent activity (up to 5 quotes, 10 votes, and 3 bills) for the specified member

Syntax:

/api.php?call=getactivity&key=APITESTKEY&member_id=2
/api.php?call=getactivity&key=APITESTKEY&member_id=2&session_id=10

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <activity>
  <member>
   <member_id>2</member_id>
   <url>http://howdtheyvote.ca/member.php?id=2</url>
  </member>
  <quotes>
   <quote>
    <quote_id>177477</quote_id>
    <hansard_id>673</hansard_id>
    <time>2009-12-03 14:50:00</time>
    <title>Hon. Diane Ablonczy (Minister of State (Small Business and
Tourism))</title>
    <text>Mr. Speaker, tax harmonization, as the House knows, is a matter
under provincial jurisdiction. We have to respect that. 
At the federal level, I can assure my colleague and the House that we will continue
t...</text>
    <url>http://howdtheyvote.ca/quotes.php?b=27549#Q177477</url>
   </quote>
   <quote>
    <quote_id>177475</quote_id>
    <hansard_id>673</hansard_id>
    <time>2009-12-03 14:45:00</time>
    <title>Hon. Diane Ablonczy (Minister of State (Small Business and
Tourism))</title>
    <text>Mr. Speaker, today our Prime Minister and China's Premier Wen
announced that China has granted Canada approved destination status. 
This is great news for the tourism industry. China is one of the fastest
g...</text>
    <url>http://howdtheyvote.ca/quotes.php?b=27549#Q177475</url>
   </quote>
   <quote>
    <quote_id>170446</quote_id>
    <hansard_id>646</hansard_id>
    <time>2009-10-20 14:55:00</time>
    <title>Hon. Diane Ablonczy (Minister of State (Small Business and
Tourism))</title>
    <text>Mr. Speaker, I know my colleague from Newmarket—Aurora works
extremely hard for small businesses in her riding. 
This being Small Business Week, it gives us all an opportunity to recognize the
outstanding...</text>
    <url>http://howdtheyvote.ca/quotes.php?b=26457#Q170446</url>
   </quote>
   <quote>
    <quote_id>137340</quote_id>
    <hansard_id>597</hansard_id>
    <time>2009-04-28 15:00:00</time>
    <title>Hon. Diane Ablonczy (Minister of State (Small Business and
Tourism))</title>
    <text>Mr. Speaker, my colleague from Perth—Wellington should be very
proud of his great work to promote tourism and the Stratford Festival in his riding. 
Tourism contributes as much to Canada's economy as fore...</text>
    <url>http://howdtheyvote.ca/quotes.php?b=21728#Q137340</url>
   </quote>
   <quote>
    <quote_id>132880</quote_id>
    <hansard_id>498</hansard_id>
    <time>2009-03-23 14:50:00</time>
    <title>Hon. Diane Ablonczy (Minister of State (Small Business and
Tourism))</title>
    <text>Mr. Speaker, first, those are precisely the issues that the
Competition Bureau will be examining under law. Our government, in the economic
action plan, wants to make sure that our economy is highly competi...</text>
    <url>http://howdtheyvote.ca/quotes.php?b=21081#Q132880</url>
   </quote>
  </quotes>
  <votes>
   <vote>
    <vote_id>814</vote_id>
    <bill_name>C-291</bill_name>
    <bill_title>refugee appeals</bill_title>
    <vote_time>2009-12-10 18:15:00</vote_time>
    <vote_type>Third Reading</vote_type>
    <choice>N</choice>
    <url>http://howdtheyvote.ca/vote.php?id=814</url>
   </vote>
   <vote>
    <vote_id>813</vote_id>
    <bill_name>C-64</bill_name>
    <bill_title></bill_title>
    <vote_time>2009-12-10 18:05:00</vote_time>
    <vote_type>Third Reading</vote_type>
    <choice>Y</choice>
    <url>http://howdtheyvote.ca/vote.php?id=813</url>
   </vote>
   <vote>
    <vote_id>810</vote_id>
    <bill_name>C-62</bill_name>
    <bill_title>Harmonized Sales Tax (HST)</bill_title>
    <vote_time>2009-12-09 18:00:00</vote_time>
    <vote_type>Third Reading</vote_type>
    <choice>Y</choice>
    <url>http://howdtheyvote.ca/vote.php?id=810</url>
   </vote>
   <vote>
    <vote_id>809</vote_id>
    <bill_name>C-62</bill_name>
    <bill_title>Harmonized Sales Tax (HST)</bill_title>
    <vote_time>2009-12-09 17:55:00</vote_time>
    <vote_type>Concurrence Motion (Report Stage)</vote_type>
    <choice>Y</choice>
    <url>http://howdtheyvote.ca/vote.php?id=809</url>
   </vote>
   <vote>
    <vote_id>808</vote_id>
    <bill_name>C-62</bill_name>
    <bill_title>Harmonized Sales Tax (HST)</bill_title>
    <vote_time>2009-12-09 17:45:00</vote_time>
    <vote_type>Amendment</vote_type>
    <choice>N</choice>
    <url>http://howdtheyvote.ca/vote.php?id=808</url>
   </vote>
   <vote>
    <vote_id>807</vote_id>
    <bill_name>C-62</bill_name>
    <bill_title>Harmonized Sales Tax (HST)</bill_title>
    <vote_time>2009-12-09 17:40:00</vote_time>
    <vote_type>Amendment</vote_type>
    <choice>N</choice>
    <url>http://howdtheyvote.ca/vote.php?id=807</url>
   </vote>
   <vote>
    <vote_id>805</vote_id>
    <bill_name>C-62</bill_name>
    <bill_title>Harmonized Sales Tax (HST)</bill_title>
    <vote_time>2009-12-08 17:40:00</vote_time>
    <vote_type>Second Reading and Referral to Committee</vote_type>
    <choice>Y</choice>
    <url>http://howdtheyvote.ca/vote.php?id=805</url>
   </vote>
   <vote>
    <vote_id>799</vote_id>
    <bill_name>C-393</bill_name>
    <bill_title>drugs for international humanitarian
purposes</bill_title>
    <vote_time>2009-12-02 18:05:00</vote_time>
    <vote_type>Second Reading</vote_type>
    <choice>N</choice>
    <url>http://howdtheyvote.ca/vote.php?id=799</url>
   </vote>
   <vote>
    <vote_id>792</vote_id>
    <bill_name>C-36</bill_name>
    <bill_title>Serious Time for the Most Serious Crime Act</bill_title>
    <vote_time>2009-11-25 18:05:00</vote_time>
    <vote_type>Third Reading</vote_type>
    <choice>Y</choice>
    <url>http://howdtheyvote.ca/vote.php?id=792</url>
   </vote>
   <vote>
    <vote_id>791</vote_id>
    <bill_name>C-36</bill_name>
    <bill_title>Serious Time for the Most Serious Crime Act</bill_title>
    <vote_time>2009-11-25 17:55:00</vote_time>
    <vote_type>Amendment</vote_type>
    <choice>N</choice>
    <url>http://howdtheyvote.ca/vote.php?id=791</url>
   </vote>
  </votes>
  <bills>
   <bill>
    <bill_id>1514</bill_id>
    <bill_name>C-4</bill_name>
    <bill_title></bill_title>
    <bill_description>An Act respecting not-for-profit corporations and
certain other corporations</bill_description>
    <bill_tabled>2009-01-28</bill_tabled>
    <url>http://howdtheyvote.ca/bill.php?id=1514</url>
   </bill>
  </bills>
 </activity>
</howdtheyvote>

GetBallots

returns a list of "ballots" for the specified vote (division), each one consisting of the member it relates to, the choice (yea, nay, paired, absent/abstained), and if the member was dissenting (not voting with the majority of one's colleagues in the same party)

Syntax:

/api.php?call=getballots&key=APITESTKEY&vote_id=739

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <ballots>
  <ballot>
   <member_id>1</member_id>
   <party>CPC</party>
   <choice>Y</choice>
   <dissent>0</dissent>
  </ballot>
  <ballot>
   <member_id>2</member_id>
   <party>CPC</party>
   <choice>Y</choice>
   <dissent>0</dissent>
  </ballot>
  <ballot>
   <member_id>618</member_id>
   <party>CPC</party>
   <choice>Y</choice>
   <dissent>0</dissent>
  </ballot>
  <ballot>
   <member_id>398</member_id>
   <party>CPC</party>
   <choice>Y</choice>
   <dissent>0</dissent>
  </ballot>
  <ballot>
   <member_id>6</member_id>
   <party>CPC</party>
   <choice>Y</choice>
   <dissent>0</dissent>
  </ballot>
 </ballots>
</howdtheyvote>

GetBills

returns a list of bills for the specified session

Syntax:

/api.php?call=getbills&key=APITESTKEY&session_id=13

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <bills>
  <bill>
   <bill_id>2165</bill_id>
   <bill_name>C-2</bill_name>
   <bill_status>Royal Assent</bill_status>
   <member_id>295</member_id>
   <date_introduced>2010-03-10</date_introduced>
   <description>An Act to implement the Free Trade Agreement between Canada
and the Republic of Colombia, the Agreement on the Environment between Canada and the
Republic of Colombia and the Agreement on Labour Cooperation between Canada and the
Republic of Colombia (Canada - Colombia Free Trade Agreement Implementation
Act)</description>
   <url>http://howdtheyvote.ca/bill.php?id=2165</url>
  </bill>
  <bill>
   <bill_id>2167</bill_id>
   <bill_name>C-3</bill_name>
   <bill_status>Committee Report tabled</bill_status>
   <member_id>277</member_id>
   <date_introduced>2010-03-11</date_introduced>
   <description>An Act to promote gender equity in Indian registration by
responding to the Court of Appeal for British Columbia decision in McIvor v. Canada
(Registrar of Indian and Northern Affairs) (Gender Equity in Indian Registration
Act)</description>
   <url>http://howdtheyvote.ca/bill.php?id=2167</url>
  </bill>
  <bill>
   <bill_id>2172</bill_id>
   <bill_name>C-4</bill_name>
   <bill_status>Second Reading and Referred to Committee</bill_status>
   <member_id>212</member_id>
   <date_introduced>2010-03-16</date_introduced>
   <description>An Act to amend the Youth Criminal Justice Act and to make
consequential and related amendments to other Acts (Sébastien’s Law
(Protecting the Public from Violent Young Offenders))</description>
   <url>http://howdtheyvote.ca/bill.php?id=2172</url>
  </bill>
  <bill>
   <bill_id>2174</bill_id>
   <bill_name>C-5</bill_name>
   <bill_status>First Reading</bill_status>
   <member_id>287</member_id>
   <date_introduced>2010-03-18</date_introduced>
   <description>An Act to amend the International Transfer of Offenders Act
(Keeping Canadians Safe (International Transfer of Offenders)
Act)</description>
   <url>http://howdtheyvote.ca/bill.php?id=2174</url>
  </bill>
  <bill>
   <bill_id>2175</bill_id>
   <bill_name>C-6</bill_name>
   <bill_status>Royal Assent</bill_status>
   <member_id>81</member_id>
   <date_introduced>2010-03-23</date_introduced>
   <description>An Act for granting to Her Majesty certain sums of money for
the federal public administration for the financial year ending March 31, 2010
(Appropriation Act No. 5, 2009-10)</description>
   <url>http://howdtheyvote.ca/bill.php?id=2175</url>
  </bill>
 </bills>
</howdtheyvote>

FindMember

returns the closest member for the postal code provided

Syntax:

/api.php?call=findmember&key=APITESTKEY&house_id=1&postal_code=K1P5A5
/api.php?call=findmember&key=APITESTKEY&house_id=1&latitude=49.2108&longitude=-123.0360

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <member>
  <member_id>421</member_id>
  <name>Paul Dewar</name>
  <name_first>Paul</name_first>
  <name_last>Dewar</name_last>
  <website>http://www.pauldewar.ca/</website>
 
<website_official>http://webinfo.parl.gc.ca/MembersOfParliament/ProfileMP.aspx?Key=128755&amp;Language=E</website_official>
  <gender>M</gender>
  <email>Dewar.P@parl.gc.ca</email>
  <phone>613-996-5322</phone>
  <fax>613-996-5323</fax>
  <party>NDP</party>
  <riding_name>Ottawa Centre</riding_name>
  <edid>35062</edid>
  <province>ON</province>
  <url>http://howdtheyvote.ca/member.php?id=421</url>
 </member>
</howdtheyvote>

FindRiding

returns the closest riding for the postal code provided

Syntax:

/api.php?call=findriding&key=APITESTKEY&house_id=1&postal_code=K1P5A5
/api.php?call=findriding&key=APITESTKEY&house_id=1&latitude=49.2108&longitude=-123.0360

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <riding>
  <riding_id>45</riding_id>
  <riding_name>Ottawa Centre</riding_name>
  <edid>35062</edid>
  <province>ON</province>
 </riding>
</howdtheyvote>

GetHansards

returns a list of Hansard documents (transcripts), for which quotes may be filtered with; typically there is one Hansard document published each day, but in some houses there are two

Syntax:

/api.php?call=gethansards&key=APITESTKEY&session_id=10

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <hansards>
  <hansard>
   <hansard_id>468</hansard_id>
   <hansard_date>2009-01-26</hansard_date>
   <hansard_number>001</hansard_number>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3629718</url>
  </hansard>
  <hansard>
   <hansard_id>469</hansard_id>
   <hansard_date>2009-01-27</hansard_date>
   <hansard_number>002</hansard_number>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3630294</url>
  </hansard>
  <hansard>
   <hansard_id>470</hansard_id>
   <hansard_date>2009-01-28</hansard_date>
   <hansard_number>003</hansard_number>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3632770</url>
  </hansard>
  <hansard>
   <hansard_id>471</hansard_id>
   <hansard_date>2009-01-29</hansard_date>
   <hansard_number>004</hansard_number>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3634297</url>
  </hansard>
  <hansard>
   <hansard_id>472</hansard_id>
   <hansard_date>2009-01-30</hansard_date>
   <hansard_number>005</hansard_number>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3635351</url>
  </hansard>
 </hansards>
</howdtheyvote>

GetHouses

returns valid houses (ie, Federal House of Commons, Provincial Legislature of BC...) for which requests may be made

Syntax:

/api.php?call=gethouses&key=APITESTKEY

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <houses>
  <house>
   <house_id>1</house_id>
   <house_name>House of Commons of Canada</house_name>
   <url>http://www.parl.gc.ca/</url>
   <prefix>fed</prefix>
   <last_session_id>13</last_session_id>
  </house>
 </houses>
</howdtheyvote>

GetMembers

returns a list of all members in the specified session, including many useful attributes

Syntax:

/api.php?call=getmembers&key=APITESTKEY&session_id=10

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <members>
  <member>
   <member_id>1</member_id>
   <name>Jim Abbott</name>
   <name_first>Jim</name_first>
   <name_last>Abbott</name_last>
   <birth>1942-08-18</birth>
   <website>http://www.jimabbott.ca/</website>
  
<website_official>http://webinfo.parl.gc.ca/MembersOfParliament/ProfileMP.aspx?Key=128634&amp;Language=E</website_official>
   <gender>M</gender>
   <email>Abbott.J@parl.gc.ca</email>
   <phone>613-995-7246</phone>
   <fax>613-996-9923</fax>
   <party>CPC</party>
   <riding>Kootenay--Columbia</riding>
   <edid>59012</edid>
   <province>BC</province>
  </member>
  <member>
   <member_id>2</member_id>
   <name>Diane Ablonczy</name>
   <name_first>Diane</name_first>
   <name_last>Ablonczy</name_last>
   <birth>1949-05-06</birth>
   <website>http://www.dianeablonczy.com/</website>
  
<website_official>http://webinfo.parl.gc.ca/MembersOfParliament/ProfileMP.aspx?Key=128446&amp;Language=E</website_official>
   <gender>F</gender>
   <email>Ablonczy.D@parl.gc.ca</email>
   <phone>613-996-2756</phone>
   <fax>613-992-2537</fax>
   <party>CPC</party>
   <riding>Calgary--Nose Hill</riding>
   <edid>48005</edid>
   <province>AB</province>
  </member>
  <member>
   <member_id>618</member_id>
   <name>Leona Aglukkaq</name>
   <name_first>Leona</name_first>
   <name_last>Aglukkaq</name_last>
   <birth>1967-06-28</birth>
   <website>http://www.leonaaglukkaq.ca/</website>
  
<website_official>http://webinfo.parl.gc.ca/MembersOfParliament/ProfileMP.aspx?Key=128788&amp;Language=E</website_official>
   <gender>F</gender>
   <email>Aglukkaq.L@parl.gc.ca</email>
   <phone>613-992-2848</phone>
   <fax>613-996-9764</fax>
   <party>CPC</party>
   <riding>Nunavut</riding>
   <edid>62001</edid>
   <province>NU</province>
  </member>
  <member>
   <member_id>396</member_id>
   <name>Harold Albrecht</name>
   <name_first>Harold</name_first>
   <name_last>Albrecht</name_last>
   <birth>1949-10-15</birth>
   <website>http://www.haroldalbrechtmp.ca/</website>
  
<website_official>http://webinfo.parl.gc.ca/MembersOfParliament/ProfileMP.aspx?Key=128450&amp;Language=E</website_official>
   <gender>M</gender>
   <email>Albrecht.H@parl.gc.ca</email>
   <phone>613-992-4633</phone>
   <fax>613-992-9932</fax>
   <party>CPC</party>
   <riding>Kitchener--Conestoga</riding>
   <edid>35038</edid>
   <province>ON</province>
  </member>
  <member>
   <member_id>597</member_id>
   <name>Malcolm Allen</name>
   <name_first>Malcolm</name_first>
   <name_last>Allen</name_last>
   <birth>1953-05-30</birth>
   <website>http://www.malcolmallen.ca/</website>
  
<website_official>http://webinfo.parl.gc.ca/MembersOfParliament/ProfileMP.aspx?Key=128407&amp;Language=E</website_official>
   <gender>M</gender>
   <email>Allen.Ma@parl.gc.ca</email>
   <phone>613-995-0988</phone>
   <fax>613-995-5245</fax>
   <party>NDP</party>
   <riding>Welland</riding>
   <edid>35097</edid>
   <province>ON</province>
  </member>
 </members>
</howdtheyvote>

GetQuotes

returns all text spoken for the specified member or specified Hansard document

Syntax:

/api.php?call=getquotes&key=APITESTKEY&hansard_id=471
/api.php?call=getquotes&key=APITESTKEY&member_id=546&session_id=10

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <quotes>
  <quote>
   <quote_id>125044</quote_id>
   <hansard_id>468</hansard_id>
   <time>2009-01-26 15:05:00</time>
   <heading>Speech from the Throne</heading>
   <topic>Address in Reply</topic>
   <title>Mr. Thomas Mulcair (Outremont, NDP)</title>
   <member_id>546</member_id>
   <text>Mr. Speaker, the hon. member for Miramichi told us she was a teacher
and that she had learned to listen to what was said and carefully read what was
written. 
I would ask her to listen to the following statement, made in 2005 by the former
leader of the opposition, when it was believed that the government had intentionally
leaked budget information. He said:
This information was circulated before being made public. That is completely
unacceptable.
Her leader said that in 2005. It was the same person who said and wrote that they
would not fill Senate vacancies because it was inappropriate. Today, they swore in 18
senators. 
I would like to know what the member for Miramichi would say to her students. Can
they trust someone who says one thing and does the opposite?</text>
   <url>http://howdtheyvote.ca/quotes.php?b=19904#Q125044</url>
  </quote>
  <quote>
   <quote_id>125144</quote_id>
   <hansard_id>469</hansard_id>
   <time>2009-01-27 14:45:00</time>
   <heading>Oral Questions</heading>
   <topic>Workers</topic>
   <title>Mr. Thomas Mulcair (Outremont, NDP)</title>
   <member_id>546</member_id>
   <text>Mr. Speaker, when the previous government leaked parts of the budget,
the current Prime Minister hit the roof. It was completely reprehensible; it
threatened market stability. Yet the Prime Minister ordered a series of announcements
in recent weeks totalling billions of dollars in spending, thereby breaching budget
confidentiality. 
Why threaten market stability? Why did he do the opposite of what he said? How can
we trust this government?</text>
   <url>http://howdtheyvote.ca/quotes.php?b=19914#Q125144</url>
  </quote>
  <quote>
   <quote_id>125146</quote_id>
   <hansard_id>469</hansard_id>
   <time>2009-01-27 14:45:00</time>
   <heading>Oral Questions</heading>
   <topic>Workers</topic>
   <title>Mr. Thomas Mulcair (Outremont, NDP)</title>
   <member_id>546</member_id>
   <text>Mr. Speaker, that is the same gang that was telling people to call
their MPs, telling them to vote for a budget that we had not even seen yet. 
The shameless breach of budget confidentiality through leaked information and
announcements is part of a strategy designed to manipulate public opinion.
Today's newspapers are reporting that the Conservatives will cap interest rates
on credit cards. Yet they laughed at that very idea when it was proposed here in the
House. They said the only thing to do was to shop around for a credit card. 
Did the government really change its mind? Is it going to cap interest rates? Can we
trust this government?</text>
   <url>http://howdtheyvote.ca/quotes.php?b=19914#Q125146</url>
  </quote>
  <quote>
   <quote_id>125373</quote_id>
   <hansard_id>470</hansard_id>
   <time>2009-01-28 16:25:00</time>
   <heading>Government Orders</heading>
   <topic>The Budget</topic>
   <title>Mr. Thomas Mulcair (Outremont, NDP)</title>
   <member_id>546</member_id>
   <text>Mr. Speaker, to understand what is going on here today, we have to
look back to the events following the October 14 general election. For the third
time in a row, something unique in the annals of Canada's political history, the
people of Canada elected a minority government. A government, in other words, that
did not enjoy the support of a majority of the House and that had to work with the
other parties. During the election campaign, in fact, the question came up
frequently, because the situation, the polls, were indicating that this would indeed
be the case. 
Imagine then our surprise at the current Prime Minister's statement during the
election campaign that he had learned his lesson from the last time and would, in the
future, be able to build and work with other parties, as that was what Canadians
wanted. He reiterated this once elected, assuring all voters that he would change his
tune and his style—divisive, fractious and vindictive—which we had seen
for two and a half years. That style is the hallmark of the Conservative government.
He had a chance to prove his mettle. Did he have what it takes to be a head of state
or only to carry out a vendetta? 
We saw him in November. The Conservatives arrived in the House and rather than
attack what was already the worst economic crisis in 75 years, they attacked the
right of women to equal pay for work of equal value. They attacked welfare rights by
gratuitously, without either provocation or justification, taking away the public
service's right to strike, even though 104,000 public servants had signed
contracts only days previously. And, finally, they attacked the system of funding for
political parties, which, I would remind you, was established in the wake of the
Liberal sponsorship scandal. 
The question, then, is whether we can place our confidence in people who behave like
this, even when they are in a minority position. Let us see exactly what was said. On
November 27, 2008, the present Minister of Finance said the following in this
House:  
The days and years and decades of those chronic deficits are behind us and no matter
what 2009 brings, they must never return.
That was November 27, 2008. If that was not enough, on December 2, 2008,
the same finance minister said:  
Mr. Speaker, what is being proposed by the separatist coalition is a $30 billion
spending program. That would put our country into a structural deficit for a long
time. As Don Drummond of the TD Bank said, this would be a disaster that would launch
us into a structural deficit.
The question is still there. Should we believe them? 
I had a chance to meet with him about two weeks ago—like our party leader who
said he had met with the Prime Minister to discuss these matters—and I quoted
his own words back to him, namely that governments were incapable of deciding which
sectors in our economy had needs that should be met and which did not. He calls it
choosing the winners and losers. That is his way of denigrating the fact that
government can have a role to play in the economy. 
I read him the quote that appeared in the Globe and Mailand asked how he could
expect us to believe he had undergone some kind of conversion, that he had fallen off
his horse on the road to Damascus and henceforth saw things quite differently. He
replied, looking me straight in the eye, that he still thought just what he had been
quoted as saying. 
The real question is this. When we see this new alliance between the new leader of
the so-called Liberal Party of Canada and the neo-Conservative Party, how can we
still find people in Canada naïve enough to believe that the Conservatives will
do what they say in their budget? 
It is all too obvious. They just want to get beyond the six-month time limit. All
the constitutional experts who have written on the subject
recently—35 experts all across Canada—agree that once six months
have passed, the government will be able to call an election when it wants, but
before that six month period is up, the opposition will have to be given a chance to
govern. An opportunity has arisen: the progressive forces in the House—which
represent 63% of the electorate and have a clear majority of seats—put their
very real differences aside, shook hands, and said they would form a government in
the interests of the country as a whole. They would put their differences aside and
focus on what unites them. That is what was proposed. 
Once again, we have looked at the proposals in the budget. Funds will be spent on
infrastructure, among other things. What we have seen, though, is that not one dollar
in five was actually spent on the programs that have already been proposed. It is
still a sham. In addition, this time they are spending money that is not even theirs
because they say in their figures that in order to reach 1.9% of GDP, they are
including money that they assume the provinces and cities will spend, even though
they do not have it. It is totally absurd. The 1.9% of GDP was put in the budget to
look a bit like what the G-20 and OECD had suggested, that is to say, a country like
Canada should spend 2% of GDP if it wants to have a real chance of re-igniting its
economy. 
The budget we saw yesterday is a fiction, and again we will see the Liberals
complicit in it over the next few months. This will make 45 times that they have
voted in favour of the Conservatives and expressed confidence in them. We are
entering the fourth year in which the neo-Conservatives, the most right-wing
government in Canadian history, have been kept in power by a party with the word
Liberal in its name. 
I can, however, assure the members of one thing: the people who voted Liberal last
time, thinking—wrongly, as it turns out—that the party would actually
stand up to the current Prime Minister, were all mistaken. Now these people have
realized that they were conned. We, the members of the NDP, are calling on all those
who wish to build a better country. We are urging them to join us, to work with us if
they want to see a fairer, more egalitarian society when it comes to women's
rights. 
The Liberals gave us a stunning display of self-righteousness this afternoon during
question period. One after the other, they rose in the House. One member asked why
the government wanted to take away women's right to equal pay for work of equal
value; another rose to ask why the government wanted to take $1 billion in transfer
payments away from Quebec. And so it went during the whole question period. 
The only thing they forgot to mention was the fact that they will be voting in
favour of all of the measures they just criticized. That is bald-faced hypocrisy.
They should be ashamed. 
This is where Conservative arrogance meets Liberal mediocrity. What a splendid pair.
They are about to make a mistake of historic proportions. It took a lot of courage to
sign the coalition documents, which are still available online. People can see that
everyone had to put a little water in their wine. 
We are strongly opposed to the war in Afghanistan. That is and has always been our
position. But that would not have stopped us from working as a team. However, I want
to say something very important. The part of the budget that supports this attack on
women is shameful. The fact that the Liberals are supporting it is unspeakable. 
How can anyone, in the year 2009, support a proposal that deprives women of the
right to go to court to ensure that their rights are recognized and respected? Rights
are non-negotiable. The problem is that third-rate deals were being negotiated at the
expense of women. That is why we need a law and recognition of such things as
women's right to equal pay for work of equal value. That is what pay equity
means. It does not mean that two people doing the same job should not receive the
same pay. That has been taken care of, but pay equity is being set aside with the
Liberals' loathsome support.</text>
   <url>http://howdtheyvote.ca/quotes.php?b=19941#Q125373</url>
  </quote>
  <quote>
   <quote_id>125375</quote_id>
   <hansard_id>470</hansard_id>
   <time>2009-01-28 16:35:00</time>
   <heading>Government Orders</heading>
   <topic>The Budget</topic>
   <title>Mr. Thomas Mulcair</title>
   <member_id>546</member_id>
   <text>It is absolutely incredible to hear such a thing, Mr. Speaker.
They are scratching each other's backs and would like to know if we will
interfere. No, we are not going to interfere with their love-in. I would point out,
however, that the person who just asked this question is the same person who slashed
cultural programs, defended the cuts in major cultural programs in Quebec and Canada,
thinks it is a damn good idea to re-enact the Battle of the Plains of Abraham and is
very pleased with herself. We, however, do not want to hear about it. She can have
it.</text>
   <url>http://howdtheyvote.ca/quotes.php?b=19942#Q125375</url>
  </quote>
 </quotes>
</howdtheyvote>

GetSessions

returns a list of sessions for which data is currently available

Syntax:

/api.php?call=getsessions&key=APITESTKEY&house_id=1

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <sessions>
  <session>
   <session_id>2</session_id>
   <name>39th Parliament, 1st Session</name>
   <house_name>House of Commons of Canada</house_name>
   <parliament_num>39</parliament_num>
   <session_num>1</session_num>
   <start>2006-04-03</start>
   <end>2007-10-15</end>
  </session>
  <session>
   <session_id>8</session_id>
   <name>39th Parliament, 2nd Session</name>
   <house_name>House of Commons of Canada</house_name>
   <parliament_num>39</parliament_num>
   <session_num>2</session_num>
   <start>2007-10-16</start>
   <end>2008-09-07</end>
  </session>
  <session>
   <session_id>9</session_id>
   <name>40th Parliament, 1st Session</name>
   <house_name>House of Commons of Canada</house_name>
   <parliament_num>40</parliament_num>
   <session_num>1</session_num>
   <start>2008-11-18</start>
   <end>2008-12-04</end>
  </session>
  <session>
   <session_id>10</session_id>
   <name>40th Parliament, 2nd Session</name>
   <house_name>House of Commons of Canada</house_name>
   <parliament_num>40</parliament_num>
   <session_num>2</session_num>
   <start>2009-01-26</start>
   <end>2009-12-30</end>
  </session>
  <session>
   <session_id>13</session_id>
   <name>40th Parliament, 3rd Session</name>
   <house_name>House of Commons of Canada</house_name>
   <parliament_num>40</parliament_num>
   <session_num>3</session_num>
   <start>2010-03-03</start>
   <end/>
  </session>
 </sessions>
</howdtheyvote>

GetVotes

returns a list of vote (division) summaries

Syntax:

/api.php?call=getvotes&key=APITESTKEY&session_id=10

Response:

<?xml version="1.0"?>
<howdtheyvote version="2">
 <votes>
  <vote>
   <vote_id>626</vote_id>
   <vote_time>2009-01-29 18:45:00</vote_time>
   <hansard_id>471</hansard_id>
   <session_id>10</session_id>
   <division>1</division>
   <count_yea>85</count_yea>
   <count_nay>214</count_nay>
   <count_paired>0</count_paired>
   <count_absent>8</count_absent>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3634297#Div-1</url>
  </vote>
  <vote>
   <vote_id>627</vote_id>
   <vote_time>2009-02-02 18:55:00</vote_time>
   <hansard_id>473</hansard_id>
   <session_id>10</session_id>
   <division>2</division>
   <count_yea>217</count_yea>
   <count_nay>84</count_nay>
   <count_paired>0</count_paired>
   <count_absent>6</count_absent>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3636715#Div-2</url>
  </vote>
  <vote>
   <vote_id>628</vote_id>
   <vote_time>2009-02-03 18:40:00</vote_time>
   <hansard_id>474</hansard_id>
   <session_id>10</session_id>
   <division>3</division>
   <count_yea>211</count_yea>
   <count_nay>91</count_nay>
   <count_paired>2</count_paired>
   <count_absent>3</count_absent>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3640279#Div-3</url>
  </vote>
  <vote>
   <vote_id>629</vote_id>
   <vote_time>2009-02-05 15:15:00</vote_time>
   <hansard_id>476</hansard_id>
   <session_id>10</session_id>
   <division>4</division>
   <count_yea>214</count_yea>
   <count_nay>80</count_nay>
   <count_paired>2</count_paired>
   <count_absent>11</count_absent>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3650695#Div-4</url>
  </vote>
  <vote>
   <vote_id>630</vote_id>
   <vote_time>2009-02-05 15:15:00</vote_time>
   <hansard_id>476</hansard_id>
   <bill_id>1512</bill_id>
   <session_id>10</session_id>
   <division>5</division>
   <count_yea>258</count_yea>
   <count_nay>36</count_nay>
   <count_paired>2</count_paired>
   <count_absent>11</count_absent>
  
<url>http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&amp;Mode=2&amp;Parl=40&amp;Ses=2&amp;DocId=3650695#Div-5</url>
  </vote>
 </votes>
</howdtheyvote>


 

signaler une erreur sur cette page