Interface XCResponse

Represents the response object returned by the Xeno-Canto API.

interface XCResponse {
    error?: string;
    message?: string;
    numPages: number;
    numRecordings: number;
    numSpecies: number;
    page: number;
    recordings: XCRecording[];
}

Properties

error?: string

Error type, if any.

message?: string

Error message, if any.

numPages: number

The total number of pages available for this query.

numRecordings: number

The total number of recordings found for this query.

numSpecies: number

The total number of species found for this query.

page: number

The page number of the results page that is being displayed.

recordings: XCRecording[]

An array of recording objects.

Generated using TypeDoc