v0.2.0.post2
AYT-API 0.2 (third attempt 😭)
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
toAsyncYoutubeApi
. - Renamed
get_playlist_metadata()
tofetch_playlist()
. - Split
get_videos_from_playlist()
intofetch_playlist_items()
andfetch_playlist_videos()
. - Renamed
get_video_metadata()
tofetch_video()
. - Renamed
YoutubeVideoMetadata
toYoutubeVideo
- Renamed
PlaylistVideoMetadata
toPlaylistItem
- Renamed
YoutubePlaylistMetadata
toYoutubePlaylist
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: v0.1.6...v0.2.0.post2