improve OAuthCredentials import ease of use (#732)
* improve OAuthCredentials import ease of use * improve OAuthCredentials import ease of use
This commit is contained in:
parent
a004bed436
commit
535f153f36
6 changed files with 38 additions and 34 deletions
|
|
@ -24,6 +24,8 @@ You will also need to pass ``client_id`` and ``client_secret`` to :py:class:`YTM
|
|||
|
||||
.. code-block::
|
||||
|
||||
from ytmusicapi import YTMusic, OAuthCredentials
|
||||
|
||||
ytmusic = YTMusic('oauth.json', oauth_credentials=OAuthCredentials(client_id=client_id, client_secret=client_secret)
|
||||
|
||||
This OAuth flow uses the
|
||||
|
|
|
|||
Loading…
Reference in a new issue