Skip to content

Instantly share code, notes, and snippets.

@MariuszWisniewski
Created March 3, 2016 01:00
Show Gist options
  • Save MariuszWisniewski/040633414a67cff6a8b6 to your computer and use it in GitHub Desktop.
Save MariuszWisniewski/040633414a67cff6a8b6 to your computer and use it in GitHub Desktop.
Create Channel in Python CodeBox
from syncano.models import Channel
import syncano
syncano.connect(api_key="ACCOUNT_KEY")
Channel.please.create(instance_name=META['instance'],
name="realtime2",
description="channel description",
type="default",
other_permissions="subscribe",
custom_publish=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment