-
Notifications
You must be signed in to change notification settings - Fork 18
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
Adds support for OpenAlex api_key request parameter #7
Conversation
Nice, thanks for the PR! I have seen mentions of this feature on the discussion board, however, this is the first time I see how this is implemented. Is there a reference to some documentation already (will merge it anyways). |
Ah great, thanks! I don't think there's any public documentation on it yet. I just received an API key the other day with instructions for using it. |
Interestingly, the checks in your PR raise TOO_MANY_REQUESTS errors while the others don't. For example, the number of tests is not bigger than the number of tests in PR #9.
I wonder whether this is the result of adding the API key. |
Thanks! |
OpenAlex provides an
api_key
query parameter that provides additional functionality and more frequent updates to commercial customers.This PR adds
api_key
support to pyalex. Just setconfig.api_key
to your API key value.