diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..00583db --- /dev/null +++ b/CHANGES @@ -0,0 +1,5 @@ +0.3.0 + +* Added signed requests (you must pass public_key to DisqusAPI). +* Added support for OAuth (via access_token in signed requests). +* Moved Paginator into disqusapi.paginator \ No newline at end of file diff --git a/README.rst b/README.rst index 650b95f..26af68c 100644 --- a/README.rst +++ b/README.rst @@ -8,7 +8,7 @@ Let's start with installing the API: Use the API by instantiating it, and then calling the method through dotted notation chaining:: from disqusapi import DisqusAPI - disqus = DisqusAPI(secret_key) + disqus = DisqusAPI(secret_key, public_key) for result in disqus.trends.listThreads(): print result @@ -22,7 +22,7 @@ Paginating through endpoints is easy as well:: paginator = Paginator(api.trends.listThreads, forum='disqus') for result in paginator: print result - + # pull in a maximum of 500 results (this limit param differs from the endpoint's limit param) for result in paginator(limit=500): print result