Interface NasaNodeParameters

Source
interface NasaNodeParameters {
    additionalFields?:
        | { includeCloseApproachData?: boolean }
        | { date?: string }
        | { endDate?: string; startDate?: string }
        | {
            catalog?:
                | "ALL"
                | "SWRC_CATALOG"
                | "WINSLOW_MESSENGER_ICME_CATALOG";
            endDate?: string;
            location?: | "ALL"
            | "earth"
            | "MESSENGER"
            | "STEREO A"
            | "STEREO B";
            startDate?: string;
        }
        | { date?: string; dim?: number };
    asteroidId?: string;
    binaryPropertyName?: string;
    download?: boolean;
    lat?: number;
    limit?: number;
    lon?: number;
    operation?: "get" | "getAll";
    resource?:
        | "asteroidNeoBrowse"
        | "asteroidNeoFeed"
        | "asteroidNeoLookup"
        | "astronomyPictureOfTheDay"
        | "donkiCoronalMassEjection"
        | "donkiHighSpeedStream"
        | "donkiInterplanetaryShock"
        | "donkiMagnetopauseCrossing"
        | "donkiNotifications"
        | "donkiRadiationBeltEnhancement"
        | "donkiSolarEnergeticParticle"
        | "donkiSolarFlare"
        | "donkiWsaEnlilSimulation"
        | "earthAssets"
        | "earthImagery";
    returnAll?: boolean;
}

Properties§

Source§

readonly additionalFields?:
    | { includeCloseApproachData?: boolean }
    | { date?: string }
    | { endDate?: string; startDate?: string }
    | {
        catalog?:
            | "ALL"
            | "SWRC_CATALOG"
            | "WINSLOW_MESSENGER_ICME_CATALOG";
        endDate?: string;
        location?: | "ALL"
        | "earth"
        | "MESSENGER"
        | "STEREO A"
        | "STEREO B";
        startDate?: string;
    }
    | { date?: string; dim?: number }

Default: {}

Source§

readonly asteroidId?: string

The ID of the asteroid to be returned

Source§

readonly binaryPropertyName?: string

Default: "data"

Source§

readonly download?: boolean

By default just the URL of the image is returned. When set to true the image will be downloaded. Default: true

Source§

readonly lat?: number

Latitude for the location of the image

Source§

readonly limit?: number

Max number of results to return Default: 20 Type options: {"minValue":1}

Source§

readonly lon?: number

Longitude for the location of the image

Source§

readonly operation?: "get" | "getAll"

Default: "get"

Source§

readonly resource?:
    | "asteroidNeoBrowse"
    | "asteroidNeoFeed"
    | "asteroidNeoLookup"
    | "astronomyPictureOfTheDay"
    | "donkiCoronalMassEjection"
    | "donkiHighSpeedStream"
    | "donkiInterplanetaryShock"
    | "donkiMagnetopauseCrossing"
    | "donkiNotifications"
    | "donkiRadiationBeltEnhancement"
    | "donkiSolarEnergeticParticle"
    | "donkiSolarFlare"
    | "donkiWsaEnlilSimulation"
    | "earthAssets"
    | "earthImagery"

Default: "astronomyPictureOfTheDay"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit