Skip to content

Commit

Permalink
Added changelog and updated example in readme for instantiation with …
Browse files Browse the repository at this point in the history
…public key
  • Loading branch information
dcramer committed Nov 2, 2011
1 parent 287a742 commit 5943f97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 5943f97

Please sign in to comment.