arxiv-api-wrapper - v2.1.2
    Preparing search index...

    Function oaiListRecordsAll

    • Fetch all records across all pages for a given metadataPrefix and optional selective harvesting options.

      This helper collects from oaiListRecordsAsyncIterator until completion. When maxRecords is provided, it acts as an upper cap; when omitted, no upper cap is applied.

      Parameters

      • metadataPrefix: OaiMetadataPrefix

        Required metadata format (e.g. oai_dc, arXiv, arXivRaw).

      • OptionallistOptions: OaiListRecordsAllOptions

        Optional from, until, set, request options (timeout, retries, userAgent, rateLimit) and maxRecords. Any provided resumptionToken is ignored; pagination is handled internally.

      Returns Promise<{ records: OaiRecord[] }>

      All fetched records as a single array.