Skip to main content

Crate papers_core

Crate papers_core 

Source

Re-exports§

pub use filter::AuthorListParams;
pub use filter::DomainListParams;
pub use filter::FieldListParams;
pub use filter::FilterError;
pub use filter::FunderListParams;
pub use filter::InstitutionListParams;
pub use filter::PublisherListParams;
pub use filter::SourceListParams;
pub use filter::SubfieldListParams;
pub use filter::TopicListParams;
pub use filter::WorkListParams;
pub use summary::SlimListResponse;

Modules§

api
filter
summary

Structs§

Author
A disambiguated author profile in OpenAlex.
AutocompleteResponse
Response from any of the 7 autocomplete endpoints. Returns up to 10 results sorted by citation count.
AutocompleteResult
A single autocomplete result.
DiskCache
Disk-based response cache with configurable TTL.
Domain
A top-level research domain in OpenAlex’s topic hierarchy.
Field
An academic field in OpenAlex’s topic hierarchy.
FindWorksParams
Parameters for semantic search (/find/works). Uses AI embeddings to find conceptually similar works. Requires an API key. Costs 1,000 credits per request.
FindWorksResponse
Response from the /find/works semantic search endpoint.
FindWorksResult
A single result from semantic search, containing a similarity score and the work data.
Funder
A research funding organization (e.g. NIH, NSF, ERC).
GetParams
Query parameters for single-entity GET endpoints. Only field selection is supported.
GroupByResult
A single group in a group_by aggregation result.
HierarchyEntity
A reference to a parent, child, or sibling entity in the topic hierarchy (domain > field > subfield > topic).
HierarchyIds
External identifiers for a Domain, Field, or Subfield.
Institution
A research institution: university, hospital, company, government agency, or other research organization.
ListMeta
Metadata returned with every list response.
ListParams
Query parameters shared by all 7 list endpoints (works, authors, sources, institutions, topics, publishers, funders). All fields are optional.
ListResponse
Paginated list response returned by all 7 list endpoints.
OpenAlexClient
Async client for the OpenAlex REST API.
Publisher
A publishing organization (e.g. Elsevier, Springer Nature, Wiley).
Source
A publishing venue: journal, repository, conference, ebook platform, or book series.
Subfield
A research subfield in OpenAlex’s topic hierarchy.
Topic
A research topic in OpenAlex’s 3-level topic hierarchy.
Work
A scholarly work: an article, book, dataset, preprint, or other research output.

Enums§

OpenAlexError
Errors returned by OpenAlexClient methods.

Type Aliases§

Result
A Result alias with OpenAlexError as the error type.