youtube_api 0.1.1 copy "youtube_api: ^0.1.1" to clipboard
youtube_api: ^0.1.1 copied to clipboard

outdatedDart 1 only

YoutubeAPI is a plugin which directly interects with youtube server. Supports Searching video and playlist.

youtube_api #

pub package

A Flutter plugin for fetching interacting with Youtube Server to fetch data using API. Supports iOS and Android.

Usage #

To use this plugin, add youtube_api as a dependency in your pubspec.yaml file.

Complete Example Code

Example #


static String key = 'YOUR_API_KEY';
YoutubeAPI ytApi = new YoutubeAPI(key);
List<YT_API> ytResult = [];

String query = "Flutter";
ytResult = await ytApi.Search(query);

Default Per-page result is 10 and by default it you search for video only.

Type(String) can be video, playlist , channel

maxResults(int) can be 1 - 50

int max = 25;
String type = "channel";
YoutubeAPI ytApi = new YoutubeAPI(key,maxResults: max,Type: type);
83
likes
0
pub points
89%
popularity

Publisher

verified publishernstack.in

YoutubeAPI is a plugin which directly interects with youtube server. Supports Searching video and playlist.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, http

More

Packages that depend on youtube_api