Skip to content

Commit

Permalink
first test with API of Merriam-Webster's Dictionaries
Browse files Browse the repository at this point in the history
  • Loading branch information
spier committed Jul 17, 2012
1 parent ba50707 commit a2a78e5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dictionaryapi/dictionaryapi.collegiate.xml
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author>
<description>Merriam-Webster's Dictionaries</description>
<documentationURL>http://www.dictionaryapi.com</documentationURL>
<sampleQuery>SELECT * FROM {table} WHERE dictionary='collegiate' word='hypocrite' AND api_key='yourApiKey'</sampleQuery>
</meta>
<bindings>
<select itemPath="entry_list.entry" produces="XML">
<urls>
<url>http://www.dictionaryapi.com/api/v1/references/{dictionary}/xml/{word}</url>
</urls>
<inputs>
<key id="word" type="xs:string" paramType="path" required="true"/>
<key id="api_key" as="key" type="xs:string" paramType="query" required="true"/>
<key id="dictionary" type="xs:string" paramType="path" required="true"/>
</inputs>
</select>
</bindings>
</table>

0 comments on commit a2a78e5

Please sign in to comment.