Finalize 0.7.0 release (see release info for all changes)

This commit is contained in:
sigma67 2020-05-03 12:04:50 +02:00
commit 56f754367a
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
10 changed files with 517 additions and 193 deletions

View file

@ -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)