Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated a code example for related words API, whose swagger nickname …

…got changed.
  • Loading branch information...
commit 4ae4b14ca07f820a91868c2d9b78fc87d4fa1346 1 parent 6662057
@zeke zeke authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -37,8 +37,8 @@ Wordnik.configure do |config|
end
```
-Example Usage
--------------
+Example Standalone Usage
+------------------------
```ruby
%w(rubygems wordnik).each {|lib| require lib}
@@ -58,8 +58,8 @@ Wordnik.word.get_examples('slovenly')
Wordnik.word.get_examples('wrangle', :limit => 10, :skip => 10) # pagination
# Related Words
-Wordnik.word.get_related_words('sad', :type => 'synonym')
-Wordnik.word.get_related_words('bowls', :type => 'hypernym', :use_canonical => true)
+Wordnik.word.get_related('sad', :type => 'synonym')
+Wordnik.word.get_related('bowls', :type => 'hypernym', :use_canonical => true)
# Search
Wordnik.words.search_words(:query => 'dog')
Please sign in to comment.
Something went wrong with that request. Please try again.