Releases: Revnoplex/ayt-api
v0.2.1
AYT-API 0.2 Patch #1
This update has 2 fixes, 1 new feature and 1 breaking change
Breaking Changes:
- Renamed
AsyncYoutubeApi
back toAsyncYoutubeAPI
. I will try not to change it again to keep things consistant
Fixed:
- Fixed an unhanded enum type
privacyStatusUnspecified
being passed to the enumPrivacyStatus
- Added proper types to
*NotFound
exceptions to reflect multiple requested items being not found since version 2.0
New:
- Added
exclude
parameter tofetch_playlist_videos
which allows excluding certain videos from a result. This is useful when certain videos in a playlist are not found and you just wan't the available videos
Full Changelog: v0.2.0...v0.2.1
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
v0.1.6
AYT-API 0.1 Patch #6
This only includes 1 change which fixes trailing characters in chapter names
Fixed:
- Chapter names no longer have a trailing set of brackets if they surrounded the timestamp
Full Changelog: v0.1.5...v0.1.6
v0.1.5
This is just a bug fix that patches trailing " -"s not being stripped
Main Changes:
Fixed:
- Fixed a bug where trailing spaces followed by trailing hyphens would not be stripped
Full Changelog: v0.1.4...v0.1.5
0.1.4
This is only a fix for unintended behaviour and improvements
Main Changes:
Fixed:
- Fixed unintended behaviour where the id extractor functions would return the path of the url instead of
None
when passing an invalid url. - Fixed bad type hints for
extract_video_id
andextract_playlist_id
: changed the type fromstr
toOptional[str]
Full Changelog: v0.1.3...v0.1.4
0.1.3
Just a few new minor features and changes
Main Changes:
New:
- Added a list of test playlist urls to parse
- Added playlist id parsing
- Added chapter parsing with new
VideoChapter
class and other related helper functions
Changes:
- Reworked video id parsing with
urllib.parse
library - Converted Some classes to dataclasses
- Updated internal documentation
Full Changelog: v0.1.2...v0.1.3
0.1.2
Added pyproject.toml for newer python versions
partial new data added
Details:
Full Changelog: v0.1.1...v0.1.2
0.1.1
Few Minor changes and fixes
Full Changelog: v0.1.0...v0.1.1
0.1.0
Full Changelog: https://github.com/Revnoplex/ayt-api/commits/v0.1.0