Suggestion: Update the wiki for Finding API calls to include the JSON method that I found at the same level as reply/dom/dict in my IDE's Object Inspector.
I found this:
def json(self):
return json.dumps(self.dict())
example:
print("response JSON:")
print(response.json())
returned:
basically the same as .dict() call except double instead of single quotes.
A minor thing but thought it was worth mentioning to be complete.
Suggestion: Update the wiki for Finding API calls to include the JSON method that I found at the same level as reply/dom/dict in my IDE's Object Inspector.
I found this:
def json(self): return json.dumps(self.dict())
example:
print("response JSON:") print(response.json())
returned:
basically the same as .dict() call except double instead of single quotes.
A minor thing but thought it was worth mentioning to be complete.
Thanks!
John