i want my mtv n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
I WANT MY MTV! PowerPoint Presentation
Download Presentation
I WANT MY MTV!

Loading in 2 Seconds...

play fullscreen
1 / 11

I WANT MY MTV! - PowerPoint PPT Presentation


  • 123 Views
  • Uploaded on

I WANT MY MTV!. I Want My MTV! Adobe Air meets MTV API meets LyricsFly.com meets Amazon. Douglas Knudsen http://www.cubicleman.com. Agenda. MTV API Introduction Amazon’s huge API LyricsFly.com API CODE!. MTV API Introduction. http://developer.mtvnservices.com/

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'I WANT MY MTV!' - ramya


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
i want my mtv adobe air meets mtv api meets lyricsfly com meets amazon

I Want My MTV!Adobe Air meets MTV APImeets LyricsFly.commeets Amazon

Douglas Knudsen

http://www.cubicleman.com

agenda
Agenda
  • MTV API Introduction
  • Amazon’s huge API
  • LyricsFly.com API
  • CODE!
mtv api introduction
MTV API Introduction
  • http://developer.mtvnservices.com/
  • Recently out of a private beta
  • RESTful based approach
  • Results are in XML format, either Atom or MRSS
  • See http://search.yahoo.com/mrss/ about MRSS
  • Now supports http://a9.com/-/spec/opensearch/1.1/ standard for use in paginating results
  • Currently free, no reg, no API key
  • Be cognizant of MTV’s terms of service
general info
General Info
  • Video Feeds and Entries
  • Parameters
  • Video Player
    • No FLV access
    • URL is to MTV SWF player which loads video
    • Flex: can use SWFLoader and Security.allowInsecureDomain()
    • Air: easy to use HTML control and embed
  • Results are limited to 100 items
video methods
Video Methods
  • http://api.mtvnservices.com/1/video/search/?term=u2&start-index=1&max-results=10
  • Use e4x and parse quickly and easily
  • See http://livedocs.adobe.com/flex/3/langref/XML.html
  • See the code for MTVDataTranslator now
  • http://api.mtvnservices.com/1/video/hznHivqrbHHWNAXP/ will load a video XML directly
artist methods
Artist Methods
  • http://api.mtvnservices.com/1/artist/placebo/
  • Returns a artist entry with video list link, related artist link, genre link, and images
  • Search artists with http://api.mtvnservices.com/1/artist/search/[parameters]
  • Artist browse for A, B, C, … Z UIs
genre methods
Genre Methods
  • Recent addition
  • http://api.mtvnservices.com/1/genre/rock/ the alias method returns links to videos and artists in the genre
  • Example http://api.mtvnservices.com/1/genre/rock/videos/ lists rock videos
amazon api
Amazon API
  • Extensive
  • AWS SOAP is dirty, has issues and the outstanding Flex Builder WSDL importer chokes on it. Namespace related
  • So I used Object as a resultFormat instead of e4x
  • Need to register and get a API Key its free
  • http://aws.amazon.com/resources/
  • REST based is around too
lyricsfly com
LyricsFly.com
  • Why? First on a Google search 
  • http://lyricsfly.com/api/
  • http://lyricsfly.com/api/api.php?i=d3e9ea1183e2c5c25-temporary.API.access&a=u2&t=sunday%20bloody%20sunday
  • Result is XML based
  • Actual lyrics are [BR] seperated
slide11
Code!
  • http://code.google.com/p/airvj/