This has corrections for outdated examples *and* outdated examples in the `README.md` that i forgot to update as well ðŸ˜.
This is a major release with new features and breaking changes
Corrections:
- Fixed outdated examples
- Updated examples in `README.md`
New:
- Added call functions, classes and exceptions for channels, comments and captions.
- Added API search function.
- Added new utils to extract comment and channel IDs from URLs.
- Added util to convert YouTube ids to integers.
- Added utils to convert between camel case and snake case conventions.
- Added util to convert keys in dictionary from camel case to snake case.
- Added util to censor token in call URLs.
- Added enums for multi-return type attributes.
- Added special `SearchFilter` class for the new search function.
- Added enums for multi-arg type attributes for `SearchFilter`.
Breaking Changes:
- Renamed `AsyncYoutubeAPI` to `AsyncYoutubeApi`.
- Renamed `get_playlist_metadata()` to `fetch_playlist()`.
- Split `get_videos_from_playlist()` into `fetch_playlist_items()` and `fetch_playlist_videos()`.
- Renamed `get_video_metadata()` to `fetch_video()`.
- Renamed `YoutubeVideoMetadata` to `YoutubeVideo`
- Renamed `PlaylistVideoMetadata` to `PlaylistItem`
- Renamed `YoutubePlaylistMetadata` to `YoutubePlaylist`
Other Changes:
- All call functions use a single function to prevent duplicate code.
- Some call functions support multiple IDs as arguments.
This list of changes is non-exhaustive
**Full Changelog**: https://github.com/Revnoplex/ayt-api/compare/v0.1.6...v0.2.0.post2