How to subscribe to a channel

you can use this Python code to access basic cayenne API