Skip to content

blastream/blastream-python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

All URIs are relative to https://api.v2.blastream.com/api-docs
This is also where you can find all parameters related to params variable

Examples

createOrGetChannel

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
iframe = instance.getIframe()

createCollaborator

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
paramsCollab = {"email": "[email protected]"}
colabname = channel.createOrGetCollaborator(name, status, paramsCollab)
channel.getIframe()

create participant

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
iframe = instance.getIframe()
paramsParticipant = {}
instance.createOrGetParticipant(channelslug,participant id, paramsParticipant)
iframe = instance.getIframe()

getReplays

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
iframe = instance.getIframe()
channel.getReplays()

setAccessRule

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
iframe = instance.getIframe()
AccessRule = {"password": "exemple_password"}
channel.setAccessRule("PRIVATE", AccessRule)

updateSubscription

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
iframe = instance.getIframe()
channel.updateSubscription("pro2","hourly")

updateSettings

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
iframe = instance.getIframe()
params = {"autojoin": 1}
channel.updateSettings(params)

updateCollaborator

instance = Instance("PUBLIC_KEY","PRIVATE_KEY", "")
params = {}
channel = instance.createOrGetChannel(name,params)
iframe = instance.getIframe()
Collaborator colab = channel.createOrGetCollaborator("username","moderator", {})
colab.update("new username","animator", {})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages