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

@ -1,6 +1,8 @@
[auth]
brand_account = 101234229123420379537
brand_account_empty = 1123456629123420379537
account_name = Sample Account
channel_handle = @SampleAccount
headers = headers_auth_json_as_string
headers_empty = headers_account_with_empty_library_as_json_as_string
browser_file = ./browser.json