aboutsummaryrefslogtreecommitdiffstats
path: root/python/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'python/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)
```