Replies: 2 comments
-
I like this suggestion, especially |
Beta Was this translation helpful? Give feedback.
0 replies
-
Added #212. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As you know, the PublicAPI (or the Web API as Genius calls it) isn't officially supported by Genius and not only may change without notice, users that send a lot of requests might hit 403 errors. Even IPs that Genius considers to be a bot might get hit a 403 error. That might be okay for some, but the user should be aware that they're using a part of the API that isn't part of the official Developers API.
My suggestion is to add a parameter called
use_public_api
toGenius.__init__
with the default value of False. Whenever the user tries to use a method that either directly or indirectly uses the Public API, we'll check the value of the attribute to see if we can use the Public API or not.Beta Was this translation helpful? Give feedback.
All reactions