parent
9687bcddc2
commit
ecfd75617c
|
@ -49,7 +49,7 @@ import 'package:youtube_explode_dart/youtube_explode_dart.dart';
|
|||
|
||||
```dart
|
||||
// You can provider either a video ID or URL as String or an instance of `VideoId`.
|
||||
var video = yt.video.get('https://youtube.com/watch?v=bnsUkE8i0tU'); // Returns a Video instance.
|
||||
var video = yt.videos.get('https://youtube.com/watch?v=bnsUkE8i0tU'); // Returns a Video instance.
|
||||
|
||||
var title = video.title; // "Infected Mushroom - Spitfire [Monstercat Release]"
|
||||
var author = video.author; // "MonsterCat"
|
||||
|
@ -193,4 +193,4 @@ Check the [api documentation][API] for additional information.
|
|||
[Examples]: https://github.com/Hexer10/youtube_explode_dart/tree/master/example
|
||||
[Tyrrrz]: https://github.com/Tyrrrz/
|
||||
[Hexer10]: https://github.com/Hexer10/
|
||||
[Contributors]: https://github.com/Hexer10/youtube_explode_dart/graphs/contributors
|
||||
[Contributors]: https://github.com/Hexer10/youtube_explode_dart/graphs/contributors
|
||||
|
|
Loading…
Reference in New Issue