Sebastian Rahlf committed a767ddf

Added hint for understanding XML responses (closes #35).

Comments (0)

Files changed (1)


 Here is a growing collection of questions that pop up regularly.
+I read the API docs but I can't manage to get this to work
+The XML structure returned by Amazon is sometimes not easy to understand. Try
+the following::
+    from lxml import etree
+    api = API(locale='...')
+    results ='...') # your API call
+    print etree.tostring(results, pretty_print=True)
+It will print the XML response nicely formatted.
 Which locale should I use and why is this important?