Permalink
Browse files

added Tinysong search API

  • Loading branch information...
1 parent 01ce61f commit ac264d68598479ef7e64e82b8ddf7e86755b4658 sbruchmann committed Dec 11, 2010
Showing with 19 additions and 0 deletions.
  1. +19 −0 tinysong/tinysong.search.xml
View
19 tinysong/tinysong.search.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Steffen Bruchmann</author>
+ <documentationURL>http://tinysong.com/api</documentationURL>
+ <sampleQuery>select * from tinysong.search where query='black sabbath' and method='b'</sampleQuery>
+ </meta>
+ <bindings>
+ <select produces="JSON">
+ <urls>
+ <url>http://tinysong.com/{method}/{query}?format=json</url>
+ </urls>
+ <inputs>
+ <key id="method" type="xs:string" paramType="path" required="true"/>
+ <key id="query" type="xs:string" paramType="path" required="true"/>
+ </inputs>
+ </select>
+ </bindings>
+</table>

0 comments on commit ac264d6

Please sign in to comment.