Your Government is about to be MASHED UP!
                          Mash it Up Camp OKC   May 7, 2011




                                WYNNNETHERLAND
whoami
@pengwynn
+
This talk is...
     Info
                Philosophy
     20%           28%


Inspiration
   20%
                                 Stats
              Tools               1%
              30%
I write API wrappers
A lot of API wrappers


I write API wrappers
Why?
Idiomatic access

in your language of choice
"chartItem": [{
    "songName": "Lonely Runs Both Ways",
    "artistName": "Alison Krauss + Union Station",
    "peek": 1,
    "catalogNo": "610525",
    "rank": 1,
    "exrank": 1,
    "weeksOn": 65,
    "albumId": 655684,
    ...
"chartItem": [{
    "songName": "Lonely Runs Both Ways",
    "artistName": "Alison Krauss + Union Station",
    "peek": 1,
    "catalogNo": "610525",
    "rank": 1,
    "exrank": 1,
    "weeksOn": 65,
    "albumId": 655684,
    ...
"chart_item": [{
    "song_name": "Lonely Runs Both Ways",
    "artist_name": "Alison Krauss + Union Station",
    "peek": 1,
    "catalog_no": "610525",
    "rank": 1,
    "exrank": 1,
    "weeks_on": 65,
    "album_id": 655684,
    ...
Higher level API
Syntactic sugar
Twitter::Search.new.from('jnunemaker').to('pengwynn').hashed('ruby').fetch()
Method chaining

Twitter::Search.new.from('jnunemaker').to('pengwynn').hashed('ruby').fetch()
Some T words , fool!
TRANSPORT
Sync vs. Async
TRANSFORMATION
Why is SOAP so dirty?


JSON, XML parsers
TESTING
Fixtures, mocks, and playback
TOOLS
REST Console   for Chrome
Apigee
HTTP Scoop
Charles Proxy
See my complete Ruby API wrapper deck
My rep @michaelcburgess
is on Twitter. Is yours?
and aggregator
                           ^
The idea: A Twitter directory for the US Congress
“We the Tweeple of the United
States, in order to form a more
perfect government, establish
communication, and promote
transparency do hereby tweet the
Congress of the United States of
America.”
Small ideas can have a big impact
Mash up your passions, have fun
Congress API
Transparency Data API
Open States API
Real Time Congress API
Govkit
Campaigns, Congress, News
More!
Mashes nicely with some of these


    Commercial APIs
Resources   an d thanks for having me!


                                    lides!
wynn.fm/mashcamp
                        gra b t he s




    blog:    wynnnetherland.com
    twitter: @pengwynn
    email: wynn@hp.com

    linkedin.com/in/netherland

Your government is Mashed UP!