paper_firehose.core.apis.semantic_scholar_client

Semantic Scholar API client for fetching paper abstracts.

Semantic Scholar provides free access to academic paper metadata including abstracts without requiring an API key.

Functions

get_semantic_scholar_abstract(doi, *[, session])

Fetch abstract from Semantic Scholar Graph API by DOI (no key needed).

paper_firehose.core.apis.semantic_scholar_client.get_semantic_scholar_abstract(doi, *, session=None)[source]

Fetch abstract from Semantic Scholar Graph API by DOI (no key needed).

Parameters:
  • doi (str) – Digital Object Identifier to look up

  • session (Optional[Session]) – Optional requests.Session for backward compatibility

Return type:

Optional[str]

Returns:

Plain-text abstract or None if not available