Implement get_account_info() to get authenticated user's account info (#556) (#557)

* implement get_account_info to provide information about the authenticated user's account (#556)

* Apply suggestions from code review to tests/README.rst

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>

* simplify get_account_info by moving code out of parsers.py and navigation.py

* test with non-auth account

* format

* update .pre-commit-config.yaml

---------

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
This commit is contained in:
Alex Pastel 2024-03-03 11:55:06 -07:00 • committed by GitHub
commit c412d7ce34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 60 additions and 1 deletions

View file

@ -61,6 +61,7 @@ Library
.. automethod:: YTMusic.rate_playlist
.. automethod:: YTMusic.subscribe_artists
.. automethod:: YTMusic.unsubscribe_artists
.. automethod:: YTMusic.get_account_info
Playlists
---------