Skip to content

Instantly share code, notes, and snippets.

@jkakar
Created February 7, 2012 02:33
Show Gist options
  • Save jkakar/1756747 to your computer and use it in GitHub Desktop.
Save jkakar/1756747 to your computer and use it in GitHub Desktop.
Wordnik methods...
jkakar@rex:~/src/fluidinfo/fluidinfo.com$ workon fluidinfo.com
(fluidinfo.com)jkakar@rex:~/src/fluidinfo/fluidinfo.com$ cd fluidinfo/
(fluidinfo.com)jkakar@rex:~/src/fluidinfo/fluidinfo.com/fluidinfo$ ./manage.py shell
iPython 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import wordnik
>>> dir(wordnik.Wordnik)
['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_create_methods', '_do_http', '_populate_methods', '_run_command', 'account_get_api_token_status', 'account_get_authenticate', 'account_get_user', 'account_get_word_lists', 'account_post_authenticate', 'authenticate', 'multi', 'word_get', 'word_get_audio', 'word_get_definitions', 'word_get_examples', 'word_get_frequency', 'word_get_hyphenation', 'word_get_phrases', 'word_get_pronunciations', 'word_get_related', 'word_get_top_example', 'word_list_delete', 'word_list_get', 'word_list_get_words', 'word_list_post_delete_words', 'word_list_post_words', 'word_list_put', 'word_lists_get', 'word_lists_post', 'words_get_random_word', 'words_get_random_words', 'words_get_search', 'words_get_word_of_the_day']
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment