UNPKG

@meumobi/ngx-youtube-provider

Version:

A angular service to fetch channel youtube videos and playlist

10 lines (9 loc) 385 B
import { HttpClient } from '@angular/common/http'; import { YoutubeConfig } from './youtube-config'; export declare class YoutubeService { http: HttpClient; private config; constructor(http: HttpClient, config: YoutubeConfig); fetchPlaylists(channelId: string): Promise<Array<Object>>; fetchVideos(channelId: string, playlistId?: string): Promise<Array<Object>>; }