Home | Index

Yahoo! Music API Guide

Responses

Video List Response (application/xml - ym:Video)

Overall XML Structure

<Videos> 
    <Video>
        <Image/>
        <Artist/>
        <Client/>
        <Category/>
        <Album/>
        <Media/>
        <Bumper/>
        <PaymentLabel/>
        <FlaggedWith/>
        <ItemInfo/>
        <xspf:track/>
        <RecentlyPlayed/>
    </Video>
</Videos>

main

Example:

<Video id="20812386" rating="-1" title="Make Her Feel
        Good" typeID="1" localOnly="1" copyrightYear="2005" label="Island Def
        Jam Music Group" explicit="0" duration="223" flags="1"
        rights="1">

See “Video XML Block” for XML attributes & description.

artists

Example:

<Artist id="18236404" rating="-1" name="Joshua Radin"
        sortName="Joshua Radin"
        website="http://www.joshuaradin.com"/>

See “Artist XML Block” for XML attributes & description.

releases

Example:

<Album>
    <Release id="28591344" title="Say Goodbye" />
</Album>

See “Release XML Block” for XML attributes & description.

tracks

Example:

<Album>
    <Release id="28591344" title="Say Goodbye">
        <Track id="28593338" rating="-1" title="Closer" rights="3749" />
    </Release>
</Album>

See “Release XML Block” for Release block XML attributes & description.

See “Track XML Block” for Track block XML attributes & description.

See “Album XML Block” for Tracks block XML attributes & description.

categories

Example:

<Category id="676" rating="-1" name="Pop" type="genre" />

See “Category XML Block” for Track block XML attributes & description.

playback

Example:

<Bumper spaceID="1001" />
<PaymentLabel name="Columbia" typeID="100" />
<Media id="41856760" displayBitRate="56" bitRate="100" codec="mpeg-2" format="wmv"
        streamID="26257884" typeID="1341" />
<Media id="41804459" displayBitRate="65" bitRate="100" codec="WM8" format="wmv"
        streamID="26196039" typeID="1314" />

See “Bumper XML Block” for Track block XML attributes & description.

See “PaymentLabel XML Block” for Track block XML attributes & description.

See “Media XML Block” for Track block XML attributes & description.

sorts

Example:

<Sorts>
    <Sort name="Artist Name">
        <Order name="Artist Name ascending" id="artistName+" default="1"/>
        <Order name="Artist Name descending" id="artistName-"/>
    </Sort>
    <Sort name="Date Added">
        <Order name="Date Added descending" id="dateAdded-" default="1"/>
        <Order name="Date Added ascending" id="dateAdded+"/>
    </Sort>
</Sorts>

See “Sorts XML Block” for Track block XML attributes & description.

See “Sort XML Block” for Track block XML attributes & description.