youtube_explode_dart 1.6.2 youtube_explode_dart: ^1.6.2 copied to clipboard
A port in dart of the youtube explode library. Supports several API functions without the need of Youtube API Key.
import 'package:youtube_explode_dart/youtube_explode_dart.dart';
Future<void> main() async {
var yt = YoutubeExplode();
var video =
await yt.videos.get('https://www.youtube.com/watch?v=AI7ULzgf8RU');
print('Title: ${video.title}');
// Close the YoutubeExplode's http client.
yt.close();
}