10 Feb 2010 05:19 am

Today, we will focus on getting your PHP setup all ready on the I School machines.  If you want to set up your own machine, I’ll help you do so but can’t promise that we’ll get it all working today.  Let’s work through getting your programming environment set up.

Exploring APIs with PHP and curl

Announcements

  • We now have a mailing list: mri10@lists.mixingandremixing.info.   I’ve subscribed all members of the class.  The list is privately archived.
  • We will study how to use visualization software such as Tableau soon (I’ll send a link by email.) (Tableau’s data visualization software is provided through the Tableau for Teaching program.)

Assignments

API assignments

1) Please send me the answers to the following questions: Formulate a REST query that gives the following. Also note where the answer can be found in the Flickr UI, if it is there.

  • NSID of Raymond Yee
  • URL for Raymond Yee’s photos, using NSID (using the fact that the photos are at http://www.flickr.com/photos/raymondyee/)
  • the number of public photos that Raymond Yee has
  • the NSID of the ” Mixing and Remixing Information 2010″ group (http://flickr.com/groups/inforemix10/http://www.flickr.com/groups/mixingandremixinginfo10/) and the corresponding URL for the group using the NSID

2) Get flickrsearch.php set up on ischool.berkeley.edu or on your own publicly available website and send me the URL for that script.

Project Writing Exercise

Write a rough draft of your project proposal and send it out to the class list by Sunday, Feb 14 at 11pm.   Start with what you have already written me and told the class about your project idea.  However, I’d like you to start trying to answer the questions I have listed on the project proposal format.  Some of the questions are not necessarily easy to answer, but I want you to give it a good shot.

5 Responses to “s10-Day 07 Setting up for programming / APIs cont”

  1. on 11 Feb 2010 at 5:00 pm kimra

    looks like our Flickr group url is actually http://www.flickr.com/groups/mixingandremixinginfo10/

  2. on 12 Feb 2010 at 8:24 am raymondyee

    Thanks, Kimra, for catching my error — I fixed it.

  3. on 16 Feb 2010 at 2:28 pm ddt

    Only took me an hour to realize that the REST request format (at http://www.flickr.com/services/api/request.rest.html) is incomplete… yay, documentation!

  4. on 16 Feb 2010 at 4:46 pm ddt

    Wait, why doesn’t this work?

    http://www.flickr.com/search/groups/?q=mixingandremixinginfo10

  5. on 17 Feb 2010 at 6:32 am raymondyee

    Dan — frankly, I don’t know why

    http://www.flickr.com/search/groups/?w=all&q=Mixing+and+Remixing+Information

    or

    http://www.flickr.com/search/groups/?q=mixingandremixinginfo10

    doesn’t work.

    This question is worth posting on the help sections of Flickr.

Trackback this Post | Feed on comments to this Post

Leave a Reply

You must be logged in to post a comment.