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

Api_key argument #58

Open
Nikoleta-v3 opened this issue Sep 7, 2018 · 1 comment
Open

Api_key argument #58

Nikoleta-v3 opened this issue Sep 7, 2018 · 1 comment

Comments

@Nikoleta-v3
Copy link
Member

Pass api_key as an argument

@NielsZondervan
Copy link

NielsZondervan commented Mar 2, 2023

Not sure if we are referring to the same issue, but it would be nice if the user could set and get API keys from within the code. For example:

arcas.Ieee.set_key_api ('enter your API key here, will store it in key_api of arcas.Ieee')
arcas.Ieee.get_key_api ('no argument needed, will return API key from memory)

The same holds for the API keys from arca.springer and arca.nature
I would include the setting of API keys in Arcas example code and documentation since it will be the first thing users would need to do, also mention that arcas.Arxiv and arcas.Plos do not require an API key.

I would like to incorporate Arcas within our text mining methodology and template code (currently under review), preferably with the suggested settings of API keys. Otherwise users will blindly run the code and experience the APIError: status=403 without knowing why.

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

2 participants