semanticscholar icon indicating copy to clipboard operation
semanticscholar copied to clipboard

Unofficial Python client library for Semantic Scholar APIs.

Results 24 semanticscholar issues
Sort by recently updated
recently updated
newest added

What is the source of these references by `sch.get_paper_references`? I notice that a few of them are not consistent with the ground truth references in the pdf (i.e. missing references,...

s2api-related

Hi, ![Screenshot 2024-03-25 at 14 54 32](https://github.com/danielnsilva/semanticscholar/assets/24757816/eb4dd42e-de04-4c03-864c-750c5b205fdc) Any hints on why this leads to an error?

Stale

### Question Hello everyone, I would like to know if there is a method to download PDFs using DOIs. If yes, can you tell me how, please? Thank you so...

question

This fixes https://github.com/danielnsilva/semanticscholar/issues/92 Calling nest_asyncio.apply() from this class is useless as it is already called from the base synchronous master object that controls all the API, SemanticScholar. Successfully tested in...

This library uses `nest_asyncio` to provide a synchronous API based on its asynchronous API, e.g. : https://github.com/danielnsilva/semanticscholar/blob/1d94dfff5fa433037f009bd6471e4bd5f86dbc91/semanticscholar/PaginatedResults.py#L43 However, even when using this library in asynchronous mode only, `nest_asyncio` is still...

bug

`PaginatedResults` has a synchronous iterator, but no asynchronous one : https://github.com/danielnsilva/semanticscholar/blob/1d94dfff5fa433037f009bd6471e4bd5f86dbc91/semanticscholar/PaginatedResults.py#L111 This breaks the ability of the `semanticscholar` API to be used asynchronously with a loop over query results.

enhancement

### Bug description Hi. Thank you for a very useful library. I am using the `get_papers` method to get the information about a batch of papers. I am also using...

bug

### Question For example, I want to search only 2 papers. I wrote this code: ```python res = sch.search_paper('llm', bulk=True, limit=2, open_access_pdf=True) ``` However, `len(res)` returns 1000. Shouldn't it be...

enhancement
question
Stale