Implements

IOAIHarvesterInterface

Implements

Constructors

Properties

baseUrl: URL

Methods

  • Returns Promise<{
        adminEmail: {
            _: string;
        }[];
        baseURL: {
            _: string;
        }[];
        compression?: {
            _: string;
        }[];
        deletedRecord: {
            _: "persistent" | "no" | "transient";
        }[];
        description: any[];
        earliestDatestamp: {
            _: string;
        }[];
        granularity: {
            _: "YYYY-MM-DD" | "YYYY-MM-DDThh:mm:ssZ";
        }[];
        protocolVersion: {
            _: string;
        }[];
        repositoryName: {
            _: string;
        }[];
    }[]>

  • retrieve the metadata formats available from a repository for a specific record

    Returns Promise<{
        metadataFormat: {
            metadataNamespace: {
                _: string;
            }[];
            metadataPrefix: {
                _: string;
            }[];
            schema: {
                _: string;
            }[];
        }[];
    }[]>

  • creates an HTTP request to the OAI-PMH endpoint

    Parameters

    • requestConfig: AxiosRequestConfig<any>
    • verb: "GetRecord" | "ListMetadataFormats" | "Identify" | "ListSets" | "ListIdentifiers" | "ListRecords"
    • params: Record<string, undefined | string>

    Returns Promise<AxiosResponse<string, string>>

  • sets the baseUrl of the OAI-PMH Endpoint to be used

    Parameters

    • url: URL

    Returns void

Generated using TypeDoc