From c2ce282a51fa7115875b7ea15406f454f484f157 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 3 Sep 2016 15:03:02 -0400 Subject: [PATCH] Add notes in README about attributes exposed. --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 0660582..b4b5aad 100644 --- a/README.rst +++ b/README.rst @@ -35,5 +35,9 @@ marked as 'primary' using ``Result.results``:: print(next(res.results).text) +All objects returned are dictionary subclasses, so to find out which attributes +Wolfram|Alpha has supplied, simply invoke ``.keys()`` on the object. +Attributes formed from XML attributes can be accessed with or without their +"@" prefix (added by xmltodict). For more information, read the source.