Finalize 0.7.0 release (see release info for all changes)
This commit is contained in:
parent
f05b7b3be7
commit
56f754367a
10 changed files with 517 additions and 193 deletions
|
|
@ -12,10 +12,19 @@ such as retrieving your library content or creating large playlists.
|
|||
|
||||
Features
|
||||
--------
|
||||
- Browsing: get artist information and releases (songs, videos, albums, singles), get albums
|
||||
- Library management: list, create, delete, and modify playlists and playlist items
|
||||
- Search: Search for songs on YouTube Music
|
||||
- Uploads: Upload songs, list uploaded songs and delete uploaded songs
|
||||
- **Browsing**: get artist information and releases (songs, videos, albums, singles), get albums
|
||||
- **Library management**:
|
||||
|
||||
* get the playlists, songs, artists, albums and subscriptions in your library
|
||||
* rate songs, albums and playlists
|
||||
* subscribe/unsubscribe artists
|
||||
|
||||
- **Playlists**: create, delete, and modify playlists and playlist items
|
||||
- **Search**: Search for songs on YouTube Music
|
||||
- **Uploads**:
|
||||
|
||||
* Upload songs and remove them again
|
||||
* List uploaded songs, artists and albums
|
||||
|
||||
Usage Example
|
||||
-------------
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@ Browsing
|
|||
|
||||
Library
|
||||
-------
|
||||
.. automethod:: YTMusic.get_library_playlists
|
||||
.. automethod:: YTMusic.get_library_songs
|
||||
.. automethod:: YTMusic.get_library_artists
|
||||
.. automethod:: YTMusic.get_library_albums
|
||||
.. automethod:: YTMusic.get_liked_songs
|
||||
.. automethod:: YTMusic.get_history
|
||||
.. automethod:: YTMusic.rate_song
|
||||
|
|
@ -36,8 +40,7 @@ Library
|
|||
|
||||
Playlists
|
||||
---------
|
||||
.. automethod:: YTMusic.get_playlists
|
||||
.. automethod:: YTMusic.get_playlist_items
|
||||
.. automethod:: YTMusic.get_playlist
|
||||
.. automethod:: YTMusic.create_playlist
|
||||
.. automethod:: YTMusic.edit_playlist
|
||||
.. automethod:: YTMusic.delete_playlist
|
||||
|
|
@ -46,6 +49,8 @@ Playlists
|
|||
|
||||
Uploads
|
||||
-------
|
||||
.. automethod:: YTMusic.get_uploaded_songs
|
||||
.. automethod:: YTMusic.get_library_upload_songs
|
||||
.. automethod:: YTMusic.get_library_upload_artists
|
||||
.. automethod:: YTMusic.get_library_upload_albums
|
||||
.. automethod:: YTMusic.upload_song
|
||||
.. automethod:: YTMusic.delete_uploaded_song
|
||||
|
|
@ -34,3 +34,19 @@ With the :code:`ytmusic` instance you can now perform authenticated requests:
|
|||
playlistId = ytmusic.create_playlist("test", "test description")
|
||||
search_results = ytmusic.search("Oasis Wonderwall")
|
||||
ytmusic.add_playlist_items(playlistId, [search_results[0]['videoId']])
|
||||
|
||||
Brand accounts
|
||||
##############
|
||||
To send requests as a brand account, there is no need to change authentication credentials.
|
||||
Simply provide the ID of the brand account when instantiating YTMusic.
|
||||
You can get the ID from https://myaccount.google.com/ after selecting your brand account
|
||||
(https://myaccount.google.com/b/21_digit_number).
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from ytmusicapi import YTMusic
|
||||
ytmusic = YTMusic('headers_auth.json', 101234161234936123473)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue