Skip to content
This repository
Browse code

Adding api tables

  • Loading branch information...
commit cce38bd587518d4d50087ca5629e7a277e4330fe 1 parent e05def8
Francisco Jordano authored February 26, 2012
25  songkick/songkick.calendar.artist.xml
... ...
@@ -0,0 +1,25 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  3
+  <meta>
  4
+    <author>Francisco Jordano (arcturus@ardeenelinfierno.com)</author>
  5
+    <description>Artist Calendar</description>
  6
+    <documentationURL>http://www.songkick.com/developer/upcoming-events-for-artist</documentationURL>
  7
+    <sampleQuery>desc {table}</sampleQuery>
  8
+  </meta>
  9
+  <bindings>
  10
+    <select itemPath="resultsPage.results.event" produces="JSON">
  11
+      <urls>
  12
+        <url>http://api.songkick.com/api/3.0/artists/{artist_id}/calendar.json</url>
  13
+      </urls>
  14
+      <inputs>
  15
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  16
+        <key id="artist_id" type="xs:string" paramType="path" required="true"/>
  17
+      </inputs>
  18
+	  <paging model="offset">
  19
+        <start id="page" default="1" />
  20
+        <pagesize id="per_page" max="50" />
  21
+        <total default="50" />
  22
+	  </paging>
  23
+    </select>
  24
+  </bindings>
  25
+</table>
25  songkick/songkick.calendar.metro.xml
... ...
@@ -0,0 +1,25 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  3
+  <meta>
  4
+    <author>Francisco Jordano (arcturus@ardeenelinfierno.com)</author>
  5
+    <description>Metro area calendar</description>
  6
+    <documentationURL>http://www.songkick.com/developer/upcoming-events-for-metro-area</documentationURL>
  7
+    <sampleQuery>desc {table}</sampleQuery>
  8
+  </meta>
  9
+  <bindings>
  10
+    <select itemPath="resultsPage.results.event" produces="JSON">
  11
+      <urls>
  12
+        <url>http://api.songkick.com/api/3.0/metro_areas/{metro_area_id}/calendar.json</url>
  13
+      </urls>
  14
+      <inputs>
  15
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  16
+        <key id="metro_area_id" type="xs:string" paramType="path" required="true"/>
  17
+      </inputs>
  18
+	  <paging model="offset">
  19
+        <start id="page" default="1" />
  20
+        <pagesize id="per_page" max="50" />
  21
+        <total default="50" />
  22
+	  </paging>
  23
+    </select>
  24
+  </bindings>
  25
+</table>
25  songkick/songkick.calendar.venue.xml
... ...
@@ -0,0 +1,25 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  3
+  <meta>
  4
+    <author>Francisco Jordano (arcturus@ardeenelinfierno.com)</author>
  5
+    <description>Venues Calendar</description>
  6
+    <documentationURL>http://www.songkick.com/developer/upcoming-events-for-venue</documentationURL>
  7
+    <sampleQuery>desc {table}</sampleQuery>
  8
+  </meta>
  9
+  <bindings>
  10
+    <select itemPath="resultsPage.results.event" produces="JSON">
  11
+      <urls>
  12
+        <url>http://api.songkick.com/api/3.0/venues/{venue_id}/calendar.json</url>
  13
+      </urls>
  14
+      <inputs>
  15
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  16
+        <key id="venue_id" type="xs:string" paramType="path"required="true"/>
  17
+      </inputs>
  18
+	  <paging model="offset">
  19
+        <start id="page" default="1" />
  20
+        <pagesize id="per_page" max="50" />
  21
+        <total default="50" />
  22
+	  </paging>
  23
+    </select>
  24
+  </bindings>
  25
+</table>
25  songkick/songkick.search.artist.xml
... ...
@@ -0,0 +1,25 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  3
+  <meta>
  4
+    <author>Francisco Jordano (arcturus@ardeenelinfierno.com)</author>
  5
+    <description>Artist search</description>
  6
+    <documentationURL>http://www.songkick.com/developer/artist-search</documentationURL>
  7
+    <sampleQuery>desc {table}</sampleQuery>
  8
+  </meta>
  9
+  <bindings>
  10
+    <select itemPath="resultsPage.results.artist" produces="JSON">
  11
+      <urls>
  12
+        <url>http://api.songkick.com/api/3.0/search/artists.json</url>
  13
+      </urls>
  14
+      <inputs>
  15
+        <key id="query" type="xs:string" paramType="query" required="true"/>
  16
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  17
+      </inputs>
  18
+	  <paging model="offset">
  19
+        <start id="page" default="1" />
  20
+        <pagesize id="per_page" max="50" />
  21
+        <total default="50" />
  22
+	  </paging>
  23
+    </select>
  24
+  </bindings>
  25
+</table>
28  songkick/songkick.search.event.xml
... ...
@@ -0,0 +1,28 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  3
+  <meta>
  4
+    <author>Francisco Jordano (arcturus@ardeenelinfierno.com)</author>
  5
+    <description>Events search</description>
  6
+    <documentationURL>http://www.songkick.com/developer/event-search</documentationURL>
  7
+    <sampleQuery>desc {table}</sampleQuery>
  8
+  </meta>
  9
+  <bindings>
  10
+    <select itemPath="resultsPage.results.event" produces="JSON">
  11
+      <urls>
  12
+        <url>http://api.songkick.com/api/3.0/events.json</url>
  13
+      </urls>
  14
+      <inputs>
  15
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  16
+        <key id="artist_name" type="xs:string" paramType="query"/>
  17
+        <key id="location" type="xs:string" paramType="query"/>
  18
+        <key id="min_date" type="xs:string" paramType="query"/>
  19
+        <key id="max_date" type="xs:string" paramType="query"/>
  20
+      </inputs>
  21
+	  <paging model="offset">
  22
+        <start id="page" default="1" />
  23
+        <pagesize id="per_page" max="50" />
  24
+        <total default="50" />
  25
+	  </paging>
  26
+    </select>
  27
+  </bindings>
  28
+</table>
39  songkick/songkick.search.location.xml
... ...
@@ -0,0 +1,39 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  3
+  <meta>
  4
+    <author>Francisco Jordano (arcturus@ardeenelinfierno.com)</author>
  5
+    <description>Events search</description>
  6
+    <documentationURL>http://www.songkick.com/developer/venue-search</documentationURL>
  7
+    <sampleQuery>desc {table}</sampleQuery>
  8
+  </meta>
  9
+  <bindings>
  10
+    <select itemPath="resultsPage.results.venue" produces="JSON">
  11
+      <urls>
  12
+        <url>http://api.songkick.com/api/3.0/search/venues.json</url>
  13
+      </urls>
  14
+      <inputs>
  15
+        <key id="query" type="xs:string" paramType="query" required="true"/>
  16
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  17
+      </inputs>
  18
+	  <paging model="offset">
  19
+        <start id="page" default="1" />
  20
+        <pagesize id="per_page" max="50" />
  21
+        <total default="50" />
  22
+	  </paging>
  23
+    </select>
  24
+	<select itemPath="resultsPage.results.location" produces="JSON">
  25
+	  <urls>
  26
+        <url>http://api.songkick.com/api/3.0/search/locations.json</url>
  27
+      </urls>
  28
+      <inputs>
  29
+        <key id="location" type="xs:string" paramType="query" required="true"/>
  30
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  31
+      </inputs>
  32
+	  <paging model="offset">
  33
+        <start id="page" default="1" />
  34
+        <pagesize id="per_page" max="50" />
  35
+        <total default="50" />
  36
+	  </paging>
  37
+    </select>
  38
+  </bindings>
  39
+</table>
25  songkick/songkick.search.venue.xml
... ...
@@ -0,0 +1,25 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  3
+  <meta>
  4
+    <author>Francisco Jordano (arcturus@ardeenelinfierno.com)</author>
  5
+    <description>Venue search</description>
  6
+    <documentationURL>http://www.songkick.com/developer/venue-search</documentationURL>
  7
+    <sampleQuery>desc {table}</sampleQuery>
  8
+  </meta>
  9
+  <bindings>
  10
+    <select itemPath="resultsPage.results.venue" produces="JSON">
  11
+      <urls>
  12
+        <url>http://api.songkick.com/api/3.0/search/venues.json</url>
  13
+      </urls>
  14
+      <inputs>
  15
+        <key id="query" type="xs:string" paramType="query" required="true"/>
  16
+        <key id="apikey" type="xs:string" paramType="query" required="true"/>
  17
+      </inputs>
  18
+	  <paging model="offset">
  19
+        <start id="page" default="1" />
  20
+        <pagesize id="per_page" max="50" />
  21
+        <total default="50" />
  22
+	  </paging>
  23
+    </select>
  24
+  </bindings>
  25
+</table>

0 notes on commit cce38bd

Please sign in to comment.
Something went wrong with that request. Please try again.