From 67fa074b3e6e91fc1e8e1a888e47e85a1a8db58a Mon Sep 17 00:00:00 2001 From: Hany alsamman Date: Tue, 10 Mar 2015 00:03:26 +0200 Subject: [PATCH] add working example --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rst b/README.rst index f4bba04..f57199f 100644 --- a/README.rst +++ b/README.rst @@ -9,6 +9,11 @@ Use the API by instantiating it, and then calling the method through dotted nota $disqus = new DisqusAPI($secret_key); $disqus->trends->listThreads(); +Advanced Example +~~~~~~~~~ +* How to integrate Disqus API with your CMS + (http://codexc.com/blog/2015/03/disqus-comments-moderation-in-your-cms/) + Parameters (including the ability to override version, api_secret, and format) are passed as keyword arguments to the resource call:: $disqus->posts->details(array('post'=>1, 'version'=>'3.0'));