refactor: clean up, fix & remove outdated code (#228)

* dev: refactor and remove redundant code

* docs(music): update `Library` API ref

* docs: update examples

* chore: update lock file
This commit is contained in:
LuanRT
2022-11-06 03:32:16 -03:00
committed by GitHub
parent 1eda93ee08
commit aa334aacbd
50 changed files with 2006 additions and 2403 deletions

View File

@@ -155,20 +155,26 @@ Retrieves library.
<summary>Methods & Getters</summary>
<p>
- `<library>#getPlaylists(args?)`
- Retrieves the library's playlists.
- `<library>#applyFilter(filter)`
- Applies given filter to the library.
- `<library>#getAlbums(args?)`
- Retrieves the library's albums.
- `<library>#applySortFilter(filter)`
- Applies given sort filter to the library items.
- `<library>#getArtists(args?)`
- Retrieves the library's artists.
- `<library>#getContinuation()`
- Retrieves continuation of the library items.
- `<library>#getSongs(args?)`
- Retrieves the library's songs.
- `<library>#has_continuation`
- Checks if continuation is available.
- `<library>#getRecentActivity(args)`
- Retrieves recent activity.
- `<library>#filters`
- Returns available filters.
- `<library>#sort_filters`
- Returns available sort filters.
- `<library>#page`
- Returns original InnerTube response (sanitized).
</p>
</details>