Uncategorized08 Feb 2010 12:20 pm

Notes to be filled out as we go — please post your answers to exercises #1 and #2 as responses to the Day 6 notes.

7 Responses to “Day 6 First look at programming APIs”

  1. on 08 Feb 2010 at 2:55 pm raymondyee

    An example answer to #1 — see example from Chapter 6

    a query for puppy yielded

    The context page is


    The medium size photo is


  2. on 08 Feb 2010 at 2:58 pm raymondyee

    An example answer to #2 for 94720 is

    Barbara Boxer: B000711
    Barbara Lee: L000551
    Diane Feinstein: F000062

  3. on 09 Feb 2010 at 3:13 pm emily

    My Flickr photo search was for “kittens,” using the API search request below:

    The first photo element that I got back from the Flickr Explorer was:

    The URL for the context page is:

    The medium size photo page URL is:

  4. on 09 Feb 2010 at 3:14 pm emily

    For the Sunlight Labs exercise, I searched for the legislators in my hometown:


    They are:
    Richard Lugar, bioguide_id=L000504
    Mike Pence, bioguide_id=P000587
    Evan Bayh, bioguide_id=B001233

  5. on 10 Feb 2010 at 8:44 am ddt

    This is strange… I posted my answers yesterday afternoon but they seem to be “awaiting moderation”. Here they are again:

    1. Search term was “Specialized Shiv”

    First term in the XML response was:

    The URL for the context page is: http://www.flickr.com/photos/25843176@N02 /4059336620/

    The medium sized photo is: http://farm3.static.flickr.com/2743/4059336620_bd545ed4d3.jpg

    2. For the ZIP code 02139:

    Michael E. Capuano: C001037
    Paul G. Kirk: K000374
    John Forbes Kerry: K000148

  6. on 10 Feb 2010 at 12:15 pm Julian

    1. Query = “Gundam”

    The context page is,

    The medium size photo is

    2. Zip = “91745”

    Gary G. Miller: M001139
    Diane Feinstein: F000062
    Barbara Boxer: B000711
    Grace Flores Napolitano: N000179

  7. on 10 Feb 2010 at 2:44 pm ade_chen

    1. Search term “leatherback sea turtle”
    First term in the XML response was:

    The URL for context page is:

    The medium-sized photo is:


    2. For the zip code 60009 (Chicago):

    Rep. Peter Roskam: R000580
    Sen. Roland Burris: B001266
    Sen. Richard Durbin: D000563

Trackback this Post | Feed on comments to this Post

Leave a Reply

You must be logged in to post a comment.