diff --git a/classes/OaiPmh.html b/classes/OaiPmh.html index 05a089b..1290d84 100644 --- a/classes/OaiPmh.html +++ b/classes/OaiPmh.html @@ -1,5 +1,5 @@ OaiPmh | @nondef/ts-oai-pmh

Implements

IOAIHarvesterInterface

-

Implements

  • IOAIHarvesterInterface

Constructors

Implements

  • IOAIHarvesterInterface

Constructors

Properties

Methods

getRecord @@ -10,17 +10,17 @@ listSets request setBaseUrl -

Constructors

Properties

baseUrl: URL
options: IOAIHarvesterOptionsInterface

Methods

  • retrieve an individual metadata record from a repository +

Constructors

Properties

baseUrl: URL
options: IOAIHarvesterOptionsInterface

Methods

  • retrieve information about a repository +

    Parameters

    • params: IOAIGetRecordRequestParamsInterface

    Returns Promise<{
        record: {}[];
    }[]>

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

  • an abbreviated form of ListRecords, retrieving only headers rather than records +

    Returns Promise<{
        adminEmail: {
            _: string;
        }[];
        baseURL: {
            _: string;
        }[];
        compression?: {
            _: string;
        }[];
        deletedRecord: {
            _: "no" | "persistent" | "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

    -

    Parameters

    • params: IOAIListMetadataFormatsRequestParamsInterface

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

  • harvest records from a repository +

    Parameters

    • params: IOAIListIdentifiersRequestParamsInterface

    Returns AsyncGenerator<any, void, unknown>

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

    +

    Parameters

    • params: IOAIListMetadataFormatsRequestParamsInterface

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

  • retrieve the set structure of a repository +

    Parameters

    • params: IOAIListRecordsRequestParamsInterface

    Returns AsyncGenerator<any, void, unknown>

  • 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

\ No newline at end of file +

Returns AsyncGenerator<any, void, unknown>

Generated using TypeDoc

\ No newline at end of file