CrossRefOrcid.fetch_references¶
- CrossRefOrcid.fetch_references(orcid_id, work_types=None, recent_years=2, style='APA')[source]¶
Fetches and formats references from an ORCID profile.
- Parameters:
orcid_id (str) – ORCID iD of the researcher.
work_types (str | list | None) – Work type(s) to include; defaults to
None
.recent_years (int) – Number of recent years to include; defaults to
2
.style (str) – The citation style to use; defaults to
'APA'
.
- Returns:
A list of formatted citation strings.
- Return type:
list[str]
Examples:
>>> from pyhelpers.ops import CrossRefOrcid >>> co = CrossRefOrcid() >>> orcid_id = '0000-0002-6502-9934' >>> references = co.fetch_references(orcid_id) >>> references[-1] 'Fu, Q., Easton, J.M., Burrow, M.P.N. (2024). Development of an Integrated Computing...