Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

extending the documentation

  • Loading branch information...
commit 5c5d972899ec8513a958c4daa8918f1e91302298 1 parent c6cd4d2
@spier spier authored
Showing with 9 additions and 4 deletions.
  1. +9 −4 dictionaryapi/README.md
View
13 dictionaryapi/README.md
@@ -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:
@@ -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!!!
Please sign in to comment.
Something went wrong with that request. Please try again.