youtube-data-mcp-server
Version:
YouTube MCP Server Implementation
91 lines (90 loc) • 1.96 kB
TypeScript
export interface VideoInfo {
id: string;
snippet: {
title: string;
description: string;
thumbnails: {
default: {
url: string;
};
medium: {
url: string;
};
high: {
url: string;
};
};
channelId: string;
channelTitle: string;
publishedAt: string;
};
statistics: {
viewCount: string;
likeCount: string;
commentCount: string;
};
}
export interface ChannelInfo {
id: string;
snippet: {
title: string;
description: string;
thumbnails: {
default: {
url: string;
};
medium: {
url: string;
};
high: {
url: string;
};
};
customUrl: string;
};
statistics: {
viewCount: string;
subscriberCount: string;
videoCount: string;
};
}
export interface SearchResult {
id: {
kind: string;
videoId: string | null;
channelId: string | null;
playlistId: string | null;
};
snippet: {
title: string;
description: string;
thumbnails: {
default: {
url: string;
};
medium: {
url: string;
};
high: {
url: string;
};
};
channelTitle: string;
publishedAt: string;
};
}
export interface CommentInfo {
id: string;
snippet: {
topLevelComment: {
snippet: {
textDisplay: string;
authorDisplayName: string;
authorProfileImageUrl: string;
likeCount: number;
publishedAt: string;
};
};
totalReplyCount: number;
};
}