Douyin
Douyin User Live API
A user's current live stream. Costs 1 credit per request.
POST/api/v1/douyin/user/live
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonsec_uidstringrequiredThe user's sec_uid, the stable id Douyin uses internally.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/user/live", {"sec_uid": "..."})
print(result)Response
},
"response_time": 1068
}