search.searchContent

Searches content via specified keys. Number of results per page in the response is fixed at 10.

Parameters:

api_key (required) A RockPeaks API key.
keys (required) The string to search for.
page (optional) The page number to fetch. Defaults to 0 (first page).

Sample Request:

http://www.rockpeaks.com/services/api?method=search.searchContent&api_key=<key>&keys=grateful

Sample Response:

<items>
  <item>
    <id>188</id>
    <type>Artist</type>
    <name>Grateful Dead</name>
    <mbid>6faa7ca7-0d99-4a5e-bfa6-1fd5037520c6</mbid>
    <url>http://www.rockpeaks.com/artists/g/Grateful-Dead</url>
    <publicity_image>http://www.rockpeaks.com/files/artists/publicity_images/Grateful-Dead.jpg</publicity_image>
    <master_genre>Rock 'N Roll</master_genre>
    <secondary_genres>
      <genre>World</genre>
      <genre>Rock</genre>
      <genre>Psychedelic Rock</genre>
      <genre>Country Rock</genre>
      <genre>Classic Rock</genre>
      <genre>Blues Rock</genre>
      <genre>Acid Rock</genre>
    </secondary_genres>
  </item>
  <item>
    <id>13689</id>
    <type>Clip</type>
    <title>What If The Beatles Were Irish?</title>
    <artist>Zimmerman, Roy</artist>
    <show>Unknown</show>
    <added>2009-12-15 00:00:00</added>
    <date>
      <year>2007</year>
      <month>3</month>
      <day>10</day>
    </date>
    <date_string>2007 03-10</date_string>
    <display_date>March 10, 2007</display_date>
    <image_small>http://www.rockpeaks.com/files/imagecache/clip_search_result/eggs/z/Zimmerman-Roy/013689-Zimmerman-Roy-What-If-The-Beatles-Were-Irish-Unknown-2007_0.jpg</image_small>
    <image>http://www.rockpeaks.com/files/eggs/z/Zimmerman-Roy/013689-Zimmerman-Roy-What-If-The-Beatles-Were-Irish-Unknown-2007_0.jpg</image>
    <duration>242</duration>
    <rp_ranking>22</rp_ranking>
    <url>http://www.rockpeaks.com/video/z/Zimmerman-Roy/Unknown-2007/What-If-The-Beatles-Were-Irish</url>
    <source>
      <name>youtube</name>
      <url>http://www.youtube.com/watch?v=h_M0wj8GkXw</url>
      <id>h_M0wj8GkXw</id>
      <status>1</status>
    </source>
  </item>
  ...
</items>

 

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

Not a Member Yet?

Join

It's Free!