Update README.md typo (video -> videos)

Closes #55
This commit is contained in:
Mattia 2020-09-03 20:45:52 +02:00
parent 9687bcddc2
commit ecfd75617c
1 changed files with 2 additions and 2 deletions

View File

@ -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