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

How to get the citation meterics of an author after finding their internal id #107

Open
kirito-0512 opened this issue Feb 10, 2025 · 1 comment
Labels
question Questions related to the package usage

Comments

@kirito-0512
Copy link

Question

i was able to get the author names for a spefic paper using the following code, i wondering how can i extend it to get the author citation meterics

from semanticscholar import SemanticScholar
sch = SemanticScholar()
results = sch.search_paper('Can LLMs Maintain Fundamental Abilities under KV Cache Compression?')
print(f'{results.total} results.', f'First occurrence: {results[0].title}.')
for item in results:
for author in item['authors']:
print(author['name'], author['authorId'])
print(item.title)

Thanks!

@kirito-0512 kirito-0512 added the question Questions related to the package usage label Feb 10, 2025
@danielnsilva
Copy link
Owner

Try the citationCount and hIndex fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions related to the package usage
Projects
None yet
Development

No branches or pull requests

2 participants