Live data from Hacker News

The Republican Party has an API

gop.gov

41–50 of 51 posts

Re: The Republican Party has an API

#41
post #12
post #9

Instead of joking about it, you might find it interesting to actually go browse the available methods, as well as some of the examples. (Link to the examples page: http://www.gop.gov/aboutapi/documentation ) Take an honest look at, say, the Perl example. Then browse a few of the methods (on the right hand side) to see what they return. Although I don't find myself agreeing with the GOP on many issues, I am able to se…

I don't see how this is useful as long as it's politicized to GOP-members only...

Um, please don't down-vote people you disagree with. This commend spawned a thread, -6 is not appropriate.

Re: The Republican Party has an API

#42
post #4

rich->funnel_money_from_middle_class( hide=[true] ) environment->screw( distort_facts=[true] ) populus->dictate_christian_lifestyle() populus->promote_fascism( not_called_fascism_when_we_do_it=[true] )

I'm sure I speak for most of the progressives on HN when I say that we support what you're saying as being the overall GOP agenda, but man... that was just lame.

Yeah, telling it like it is -- that's just lame.

Re: The Republican Party has an API

#43
post #27

I notice all the methods use POST. Shouldn't they use GET instead, on the ground that each access doesn't change the state of the server? http://www.w3.org/2001/tag/doc/whenToUseGet.html

I like RESTful APIs too, but it's silly to imply that anything else is wrong

I'm not sure the implication was necessarily that it was wrong, the poster (no pun intended) could have meant that it could simply have been better to use GET.

Re: The Republican Party has an API

#46
post #9

Instead of joking about it, you might find it interesting to actually go browse the available methods, as well as some of the examples. (Link to the examples page: http://www.gop.gov/aboutapi/documentation ) Take an honest look at, say, the Perl example. Then browse a few of the methods (on the right hand side) to see what they return. Although I don't find myself agreeing with the GOP on many issues, I am able to se…

> Take an honest look at, say, the Perl example.

I did. It doesn't even compile :)

(It is mostly correct, but they have a semicolon incorrectly placed between arguments to the LWP request function. I usually test my code before putting it online. Usually.)

Re: The Republican Party has an API

#47
post #28

Has anyone really looked into it? Does it provide anything that, say, opencongress.org/govtrack.us doesn't already have?

govtrack is amazing, rsync mirrors of their full database for your own use. A wonderfully useful website, I've even got rss feeds for what my congresspeople are up to.

Re: The Republican Party has an API

#49

one can simply POST into mordor. huh!

jeez. i thought it was funny. im sorry for offending so many sensibilities :/

It wasn't funny, but once upon a time this site had a tradition of not voting down silly/stupid stuff quite so much:-/

Re: The Republican Party has an API

#50

Earlier quoted context omitted.

Our gov is based on electing people, not parties. I can see how subsidizing individual campaigns can be allowed. Subsidizing parties is contrived from little to no constitutional basis.

The gov subsidizes parties. Campaign subsidies are given only to nominees of major and minor political parties, and party conventions are subsidized directly. From my previous link: "The Presidential nominee of each major party may become eligible for a public grant..." "The amount of public funding to which a minor party candidate is entitled is based on the ratio of the party's popular vote in the preceding Preside…

you are correct, of course. I was writing with my idealist hat on ;).

partisan-ship and two party systems are so base, it rattles my mind how short sighted they can be.

Post reply on HN