Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix so works with all numeric AudioDB API keys #47

Open
wags1 opened this issue May 23, 2023 · 0 comments
Open

Fix so works with all numeric AudioDB API keys #47

wags1 opened this issue May 23, 2023 · 0 comments

Comments

@wags1
Copy link

wags1 commented May 23, 2023

I'm in the US and have a all numeric AudioDB API key. In order for things to work I need to change a line in lib, helpers, theaudiodb.py and replace the existing code in the line near end of py file with -

endpoint = 'https://www.theaudiodb.com/api/v1/json/%s/%s' % (self.api_key, endpoint)

Is it possible to change the code so that it works no matter what type of AudioDB API key is used so that the manual change is no longer needed? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant