aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeremy Cohen2014-02-05 18:12:05 -0800
committerGeremy Cohen2014-02-05 18:12:05 -0800
commitdff1d64002cf67884d79d2ba8110d69e8d0bf74e (patch)
treee51c4874381f547da7f6eb405c7c653e8f71b53b
parent57f28692632eb6a9a671c6b6ae6096c39376315e (diff)
downloadpubnub-python-dff1d64002cf67884d79d2ba8110d69e8d0bf74e.tar.bz2
Update README.md
-rw-r--r--python/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/python/README.md b/python/README.md
index 1a0ea0b..47e2f94 100644
--- a/python/README.md
+++ b/python/README.md
@@ -87,9 +87,11 @@ print(analytics)
```
# Load Previously Published Messages
-history = pubnub.history({
- 'channel' : 'hello_world',
- 'limit' : 1
+history = pubnub.detailedHistory({
+ 'channel' : 'my_channel',
+ 'end' : my_end_time_token, # Optional
+ 'start' : my_start_time_token, # Optional
+ 'count' : num_of_msgs_to_return # Optional, default is 100
})
print(history)
```