Skip to content

Commit

Permalink
extending the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
spier committed Jul 17, 2012
1 parent c6cd4d2 commit 5c5d972
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions dictionaryapi/README.md
Expand Up @@ -7,8 +7,8 @@ The [Merriam-Webster Dictionary API](http://www.dictionaryapi.com) is made up of

This YQL table makes accessing the different dictionaries more straight forward by moving them into one API, with different dictionaries. YQL calls look like this:

SELECT * FROM dictionaryapi WHERE dictionary='collegiate' AND word='hypocrite' AND api_key='YOUR-KEY-GOES-HERE'
SELECT * FROM dictionaryapi WHERE dictionary='medical' AND word='doctor' AND api_key='YOUR-KEY-GOES-HERE'
SELECT * FROM dictionaryapi WHERE dictionary='collegiate' AND word='hypocrite' AND api_key='YOUR-KEY-GOES-HERE';
SELECT * FROM dictionaryapi WHERE dictionary='medical' AND word='doctor' AND api_key='YOUR-KEY-GOES-HERE';

The dictionaries that can be accessed via YQL are:

Expand All @@ -20,5 +20,10 @@ The dictionaries that can be accessed via YQL are:
- **sd2** => Merriam-Webster's Elementary Dictionary with Audio (Grades 3-5)
- **sd3** => Merriam-Webster's Intermediate Dictionary with Audio (Grades 6-8)
- **sd4** => Merriam-Webster's School Dictionary with Audio (Grades 9-11)

## Please mind that the different dictionaries require different API keys!!!

## Usage Example in YQL Console

USE "https://raw.github.com/spier/yql-tables/dictionaryapi/dictionaryapi/dictionaryapi.xml" AS dictionaryapi;
SELECT * FROM dictionaryapi WHERE dictionary='collegiate' AND word='hypocrite' AND api_key='YOUR-KEY-GOES-HERE';

## Please mind that the different dictionaries require different API keys!!!

0 comments on commit 5c5d972

Please sign in to comment.