mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[PR #688] [MERGED] Add optional parameters for OAuth client ID and secret to setup #701
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#701
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigma67/ytmusicapi/pull/688
Author: @fischcode
Created: 12/13/2024
Status: ✅ Merged
Merged: 12/17/2024
Merged by: @sigma67
Base:
main← Head:main📝 Commits (10+)
980e1c5Add optional parameters for OAuth client ID and secret to setupbcbcf78Improve setup parameter parsing and help texts4bcf935ruff autofixe971560wip: remove default oauth_client_id & secret, turn into mandatory params282ac9dfix yt_oauth fixture43dca79Merge remote-tracking branch 'origin/main' into fischcode-main97c04c8fix format/lint9ab9506Merge remote-tracking branch 'origin/main' into fischcode-main994574afix cli args and oauth test2b86d17remove skip📊 Changes
8 files changed (+59 additions, -34 deletions)
View changed files
📝
tests/auth/test_oauth.py(+15 -5)📝
tests/conftest.py(+6 -2)📝
tests/test.example.cfg(+2 -0)📝
ytmusicapi/__init__.py(+1 -1)📝
ytmusicapi/auth/oauth/credentials.py(+4 -6)📝
ytmusicapi/constants.py(+0 -2)📝
ytmusicapi/setup.py(+28 -13)📝
ytmusicapi/ytmusic.py(+3 -5)📄 Description
Use your own Google API client ID and client secret in setup by calling
ytmusicapi oauth --client_id <your Google API client ID> --client_secret <your Google API client secret>to avoid HTTP 400: Bad Request errors (issue #679 )See developers.google.com/youtube/registering_an_application for instructions on how to create your own youtube OAuth credentials.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.