Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

getting content/ ICtomorrow - what we learned

834 views

Published on

Presented by @adrideo and @shinyhappydan at the developer briefing for the Minibar ICtomorrow App Building Contest (Nov 4th 2010)

  • Be the first to comment

  • Be the first to like this

getting content/ ICtomorrow - what we learned

  1. 1. getting content / IC tomorrow what we learned
  2. 2. +
  3. 3. +
  4. 4. 2007 20102008 2009 Project Pink Totem Social Media Guide Test Tube Telly Come Dine With Me Homemade Project Red Amplus WatchSomething VoteUp/Gawp URIplay Atlas Project Purple Project Blue Project Teal Project Orange Project Brown Project Black Project Pale Things we have made
  5. 5. 2007-2010: URIplay/ Atlas
  6. 6. 2008: BBC’s Social Media Guide
  7. 7. 2009: 4iP’s Test Tube Telly
  8. 8. 2010: voteup.tv
  9. 9. Why IC tomorrow?
  10. 10. People who make apps People who use things People who make content Shiny wonderfulness Activity data Content dataActivity data
  11. 11. About the API • Pretty nice, pragmatically RESTful • SSL with HTTP basic auth • XML responses, in a SOAP envelope :( • Auth flow is OAuth-like, but not quite OAuth • We’ve been there, and done it already: • https://github.com/mbst/common-social • http://metabroadcast.com/blog/ictomorrow-api-helper
  12. 12. IC tomorrow APIs - #1 Getting Content • POST https://api.ictomorrow.co.uk/v1.0/content/request → jobID=7863 • Then poll: GET https://api.ictomorrow.cohyperlink.uk/v1.0/content/get?job_id=7863
  13. 13. IC tomorrow APIs - #2 Getting Started • PUT https://api.ictomorrow.co.uk/v1.0/initiate → requestToken=3 • Send user to: https://www.ictomottow.co.uk/auth/confirm?requestToken=3 • PUT https://api.ictomorrow.co.uk/v1.0/token → consumerID=419 • POST https://api.ictomorrow.co.uk/v1.0/offers/515/users/419/register
  14. 14. IC tomorrow APIs - #3 Logging activity • POST https://api.ictomorrow.co.uk/v1.0/transaction • GET https://api-testbed.testbeddev.com/v1.0/offers/515/users/419/meter • PUT https://api-testbed.testbeddev.com/v1.0/offers/515/users/419/meter
  15. 15. Thanks :)

×