blob: cedf69e53308f486b85954a8c1c5154f420643ff (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
 | from Pubnub import Pubnub
## Initiat Class
pubnub = Pubnub( 'demo', 'demo', None, False )
## History Example
history = pubnub.history({
    'channel' : 'hello_world',
    'limit'   : 1
})
print(history)
 |