From 193e4aa1859e3bb2ef267c37c90a5b166c7ff21c Mon Sep 17 00:00:00 2001 From: Florian Einfalt Date: Tue, 21 Mar 2017 09:54:24 +0000 Subject: [PATCH] Update readme --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index b2f5aae..0538334 100644 --- a/README.rst +++ b/README.rst @@ -111,4 +111,11 @@ To update the API data, type: api_cache.update('project_data') +To diff existing API data with new API data, type: + +.. code-block:: python + + api_cache.diff('project_data') + # {'project_data': {'values_changed': {"root['headers']['X-Request-Id']": {'new_value': u'f5800c5e-4edb-4509-8339-4bcdf0b32732', 'old_value': u'd8ed6737-e5c8-49aa-b42e-58eb2ba472b9'}}}} + .. _Full Documentation: http://nukedatastore.readthedocs.io/en/latest/