@tobyg74/tiktok-api-dl
Version:
Scraper for downloading media in the form of videos, images and audio from Tiktok. Also for stalking Tiktok Users
49 lines (48 loc) • 1.04 kB
TypeScript
export type TiktokLiveSearchResponse = {
status: "success" | "error";
message?: string;
result?: LiveSearchResult[];
page?: number;
totalResults?: number;
};
export type LiveSearchResult = {
roomInfo: RoomInfo;
liveInfo: LiveInfo;
};
export type RoomInfo = {
hasCommerceGoods: boolean;
isBattle: boolean;
};
export type LiveInfo = {
id: string;
title: string;
cover: string[];
squareCover: string[];
rectangleCover: string[];
liveTypeThirdParty: boolean;
hashtag: string;
startTime: number;
stats: Stats;
owner: Owner;
};
export type Stats = {
totalUser: number;
viewerCount: number;
likeCount: number;
};
export type Owner = {
uid: string;
nickname: string;
username: string;
signature: string;
avatarThumb: string[];
avatarMedium: string[];
avatarLarge: string[];
modifyTime: number;
stats: OwnerStats;
isVerified: boolean;
};
export type OwnerStats = {
followingCount: number;
followerCount: number;
};