Skip to content

Releases: Revnoplex/ayt-api

v0.2.1

13 Feb 11:52
Compare
Choose a tag to compare

AYT-API 0.2 Patch #1

This update has 2 fixes, 1 new feature and 1 breaking change

Breaking Changes:

  • Renamed AsyncYoutubeApi back to AsyncYoutubeAPI. I will try not to change it again to keep things consistant

Fixed:

  • Fixed an unhanded enum type privacyStatusUnspecified being passed to the enum PrivacyStatus
  • Added proper types to *NotFound exceptions to reflect multiple requested items being not found since version 2.0

New:

  • Added exclude parameter to fetch_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

25 Nov 13:37
Compare
Choose a tag to compare

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 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: v0.1.6...v0.2.0.post2

v0.1.6

13 Sep 13:39
Compare
Choose a tag to compare

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

07 Aug 12:20
Compare
Choose a tag to compare

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

20 Jul 12:14
Compare
Choose a tag to compare

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 and extract_playlist_id: changed the type from str to Optional[str]

Full Changelog: v0.1.3...v0.1.4

0.1.3

18 Jul 12:11
Compare
Choose a tag to compare

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

17 Jun 11:06
e394f38
Compare
Choose a tag to compare

Added pyproject.toml for newer python versions
partial new data added
Details:
Full Changelog: v0.1.1...v0.1.2

0.1.1

28 Oct 08:57
Compare
Choose a tag to compare

Few Minor changes and fixes
Full Changelog: v0.1.0...v0.1.1

0.1.0

08 Nov 04:40
Compare
Choose a tag to compare