Club API Methods

Description for club related api calls.

club/search

http://api.play.fm/club/search/[your_api_key]

Parameter

  • name (optional) - the club name in question
  • country (optional) - the country US / AT / DE ...
  • city (optional) - the exact city name
  • style (optional) - the style in question (techno, house, ...)
  • page (optional)
  • itemsPerPage (optional, max/default 50)
NOTE: Parameters are to be considered as key-value pairs, separated by a slash (see examples below).

Examples

All Clubs
http://api.play.fm/club/search/1be42c016037b4d3182c:52c69e3a57

All Clubs with "fluc" in title
http://api.play.fm/club/search/1be42c016037b4d3182c:52c69e3a57/title/fluc/itemsPerPage/10/page/1

All Clubs with style "techno"
http://api.play.fm/club/search/1be42c016037b4d3182c:52c69e3a57/style/techno

Response

<results>
  <opensearch:Query role="request" searchTerms="" startPage="1"/>
  <opensearch:totalResults>1257</opensearch:totalResults>
  <opensearch:startIndex>0</opensearch:startIndex>
  <opensearch:itemsPerPagex>2</opensearch:itemsPerPagex>
  <matches results="2"> 
    <brand slug="flex" id="8368" type="location">
      <title>Flex</title>
      <country>AT</country>
      <city>Vienna</city>
      <url>http://www.play.fm/club/flex</url>
      <recordings count="293">
        <rss_popular>http://www.play.fm/recordings/rss/show/flex/total</rss_popular>
        <rss_recent>http://www.play.fm/recordings/rss/show/flex</rss_recent>
      </recordings>
      <artists>
        <artist slug="crazysonic" id="548">Crazy Sonic</artist>
        <artist slug="kenhayakawa" id="1208">Ken Hayakawa</artist>
        <artist slug="catekk" id="319">caTekk</artist>
        <artist slug="defex" id="1481">Defex</artist>
        <artist slug="smacs_patrickkong" id="31154">Smacs And Patrick Kong</artist>
        <artist slug="johanneslehner" id="5869">Johannes Lehner</artist>
      </artists>
      <image>http://static.play.fm/thumbs/big/center/middle/1_49c55239-af3e-f5ff4962.jpg</image>
      <thumbnail>http://static.play.fm/thumbs/small/center/middle/1_49c55239-af3e-f5ff4962.jpg</thumbnail>
    </brand>
 
    <brand slug="museumsquartier" id="8362" type="location">
      <title>MuseumsQuartier</title>
      <country>AT</country>
      <city>Vienna</city>
      <url>http://www.play.fm/club/museumsquartier</url>
      <recordings count="159">
        <rss_popular>http://www.play.fm/recordings/rss/show/museumsquartier/total</rss_popular>  
        <rss_recent>http://www.play.fm/recordings/rss/show/museumsquartier</rss_recent>
      </recordings>
      <image>http://static.play.fm/thumbs/big/center/middle/0_49c55239-67d2-ed96cffb.jpg</image>
      <thumbnail>http://static.play.fm/thumbs/small/center/middle/0_49c55239-67d2-ed96cffb.jpg</thumbnail>
    </brand>
  </matches>
</results>    
 
(c) 2013 PLAY.FM GmbH

Sitemap