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
No TLDRs when using Data Partner's API #43
Comments
Maybe this was caused by Partner's default URL, which calls the API deprecating endpoints.
Try setting a custom URL. from semanticscholar import SemanticScholar
s2_api_key = '40-CharacterPrivateKeyProvidedToPartners'
s2_api_url = 'https://partner.semanticscholar.org/graph/v1'
sch = SemanticScholar(api_key=s2_api_key, api_url=s2_api_url) Please let me know if this works for you. |
It works, thank you! |
@danielnsilva I encountered the following error message when I try
|
Yes, but changing the default URL in the code is the best solution. I will do that shortly. |
Regular use of 'sch.get_paper' has TLDR, while access through Data Partner's API does not.
What's wrong?
The text was updated successfully, but these errors were encountered: