get_incoming_citations_from_api

get_incoming_citations_from_api(reference: str | Reference, *, token: str | None = None, return_type: Literal['str'] = 'citation') list[str][source]
get_incoming_citations_from_api(reference: str | Reference, *, token: str | None = None, return_type: Literal['reference'] = 'citation') list[Reference]
get_incoming_citations_from_api(reference: str | Reference, *, token: str | None = None, return_type: Literal['citation'] = 'citation') list[Citation]

Get the articles that cite a given article, from OpenCitations.

Parameters:
  • reference – The reference to get citations for

  • token – The token to use for authentication. Loaded via pystow.get_config() if not given explicitly

  • return_type – The return type for citations. If using references or strings, will filter by the same prefix as the query reference

Returns:

A list of citations