Skip to main content

SDK for bokecc.

Project description

SDK for bokecc.
cc 云直播类接口
cc 云课堂类接口

TODO: live 聊天、抽奖、签到等非视频信息
TODO: 完成点播类接口
TODO: 完成云课堂聊天等接口


pip install bokecc_sdk

live_api = LiveAPI(APIKEY)
userid = USERID
name = 'sdk测试创建直播间name密码'
desc = 'sdk测试创建直播间desc'
templatetype = constants.LiveTemplateType.video_doc_chat_qa.value
authtype = constants.LiveAuthType.password.value
publisherpass = 'tcctest'
assistantpass = 'acctest'
response = live_api.room_create(
userid, name, desc, templatetype, authtype, publisherpass, assistantpass

examples 目录创建, 填入cc的apikey

其他具体接口见 examples/

回调类demo见 中的

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bokecc-sdk, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size bokecc_sdk-0.3.2-py2-none-any.whl (14.1 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size bokecc_sdk-0.3.2.tar.gz (10.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page