Route to retrieve the room ID for a user
Signature
Section titled “Signature”class FetchUserUniqueIdRoute(ClientRoute)Attributes
Section titled “Attributes”APP_INFO_PATTERN(re.Pattern)
Methods
Section titled “Methods”parse_app_info
Section titled “parse_app_info”Parse the room ID from livestream HTML
@classmethoddef parse_app_info(html: str) -> strParameters
Section titled “Parameters”html(str) — The HTML to parse from https://tiktok.com/@\<user_id>
Returns
Section titled “Returns”str — The unique_id of a User ID
Import
Section titled “Import”from TikTokLive.client.web.routes.fetch_user_unique_id import FetchUserUniqueIdRoute