code: def getThesaurus(self, word):
          
          response = requests.get(
              "http://api.wordnik.com:80/v4/word.json/%s/relatedWords?"
              "useCanonical=false&relationshipTypes=synonym&limitPer"
              "RelationshipType=15&api_key=%s" % (word, key)).json()
          try:
              return response[0]
          except IndexError:
              pass
docs: response = requests.get("http://words.bighugelabs.com/api/2/%s/%s/json"
                              % (self.tkey, word)).json()
          return response