From e4868efc03bbbde3c908ed6e514b64e0dca4cdf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sat, 7 Feb 2026 00:02:39 +0300 Subject: [PATCH] Remove raw_data option Simplifies the interface. Resolves #35 --- README.rst | 45 +------------------------------------------ colourlovers/clapi.py | 23 ++++------------------ 2 files changed, 5 insertions(+), 63 deletions(-) diff --git a/README.rst b/README.rst index 379a2b6..b1d9883 100755 --- a/README.rst +++ b/README.rst @@ -161,50 +161,7 @@ queries are structured in three levels: Response data ~~~~~~~~~~~~~ - -The data from a query can be returned in three different formats: XML, JSON or as -a Python object. - -To get the data in XML format a first positional argument (``raw_data``) has to be -set to ``True``. This is so because the default raw data response format is XML. - - .. code:: python - - >>> resp = cl.search_palette(True, id=2323) - >>> resp - '\n\n\t\n\t\t2323\n\t\t<![CDATA[On the lake]]>\n\t\t\n\t\t529\n\t\t12\n\t\t3\n\t\t0\n\t\t0\n\t\t2005-08-24 10:44:11\n\t\t\n\t\t\tE6F0F7\n\t\t\t97A4B2\n\t\t\t5F0609\n\t\t\t766F59\n\t\t\t989383\n\t\t\n\t\t