Created
October 7, 2015 01:04
-
-
Save jackdesert/ede7c88dab6fffd1f758 to your computer and use it in GitHub Desktop.
Wordnik Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from wordnik import * | |
apiUrl = 'http://api.wordnik.com/v4' | |
apiKey = '034c1fcd16174ddb050a0efbd80cea86b15e2175e7747693' | |
client = swagger.ApiClient(apiKey, apiUrl) | |
wordApi = WordApi.WordApi(client) | |
example = wordApi.getTopExample('irony') | |
print(example.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment