youtube_explode_dart 1.0.0 youtube_explode_dart: ^1.0.0 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=bo_efYhYU2A');
print('Title: ${video.title}');
// Close the YoutubeExplode's http client.
yt.close();
}