These docs are for PubNub 4.0 for Python V4 which is our latest and greatest! For the docs of the older versions of the SDK, please check PubNub 3.0 for Python, PubNub 3.0 for Python-Tornado and PubNub 3.0 for Python-Twisted.
If you have questions about the PubNub for Python SDK, please contact us at firstname.lastname@example.org.
The timetoken is constructed using the following algorithm:
Example of creating a timetoken for a specific time & date
Timeyou can use the following method(s) in Python V4 SDK
envelope = pubnub.time()
time()operation returns a
PNTimeResponsewhich contains the following operations:
|Do not confuse with |
Get Subscribed Channelsyou can use the following method(s) in the Python V4 SDK:
channels = pubnub.get_subscribed_channels()
Get Subscribe Channel Groupsyou can use the following method(s) in the Python V4 SDK
channels = pubnub.get_subscribed_channel_groups()