disc.getInfo

Returns metadata and entries for a particular disc.

Parameters:

api_key (required) A RockPeaks API key.
id (required) The RockPeaks id for the disc.
video_sources (optional) Only return disc video entries with provided sources, e.g. "youtube,vimeo"
video_status (optional) Only list live (1) or missing (0) disc video entries.

Sample Request:

http://www.rockpeaks.com/services/api?method=disc.getInfo&api_key=<key>&id=139549&video_sources=youtube

Sample Response:

<disc>
  <id>139549</id>
  <title>Nine Inch Nails - Lollapalooza 2013</title>
  <added>2013-08-05 18:21:57</added>
  <url>http://www.rockpeaks.com/discs/Nine-Inch-Nails-Lollapalooza-2013-DVD</url>
  <artwork>http://www.rockpeaks.com/files/artwork/n/Nine-Inch-Nails-Lollapalooza-2013.png</artwork>
  <description>...</description>
  <size>23</size>
  <videos>
    <video>
      <id>139513</id>
      <title>Copy of A</title>
      <artist>Nine Inch Nails</artist>
      <show>Lollapalooza</show>
      <added>2013-08-05 06:00:37</added>
      <date>
        <year>2013</year>
        <month>8</month>
        <day>2</day>
      </date>
      <date_string>2013 08-02</date_string>
      <display_date>August 2, 2013</display_date>
      <image_small>http://www.rockpeaks.com/files/imagecache/clip_search_result/eggs/n/Nine-Inch-Nails/139513-Nine-Inch-Nails-Copy-of-A-Lollapalooza-2013.jpg</image_small>
      <image>http://www.rockpeaks.com/files/eggs/n/Nine-Inch-Nails/139513-Nine-Inch-Nails-Copy-of-A-Lollapalooza-2013.jpg</image>
      <duration>662</duration>
      <rp_ranking>97</rp_ranking>
      <url>http://www.rockpeaks.com/video/n/Nine-Inch-Nails/Lollapalooza-2013/Copy-of-A</url>
      <source>
        <name>youtube</name>
        <url>http://www.youtube.com/watch?v=nqCR-GugRho</url>
        <id>nqCR-GugRho</id>
        <status>1</status>
      </source>
      <position>1</position>
    </video>
    ...
  </videos>
</disc>

 

Enter your Rock Peaks username.
Enter the password that accompanies your username.
Forgot Password?
 

Not a Member Yet?

Join

It's Free!