Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from wordnik import *
- apiURLString = 'http://api.wordnik.com:80/v4'
- apiKeyString = '9ddeb48147ef08e7370070b822809415eaec1f51d3786e7f6'
- clientObject = swagger.ApiClient(apiURLString, apiKeyString)
- wordAPIObject = WordApi.WordApi(clientObject)
- exampleObjectArray = wordAPIObject.getPhrases('lightning', limit = 100, wlmi = 0, useCanonical = True)
- for indexInt in range(0, len(exampleObjectArray)):
- print(exampleObjectArray[indexInt].gram1)
- print(exampleObjectArray[indexInt].gram2)
Advertisement
Add Comment
Please, Sign In to add comment