Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PlantInfo

import type { PlantInfo } from "https://googleapis.deno.dev/v1/pollen:v1.ts";

This object contains the daily information on specific plant.

interface PlantInfo {
code?:
| "PLANT_UNSPECIFIED"
| "ALDER"
| "ASH"
| "BIRCH"
| "COTTONWOOD"
| "ELM"
| "MAPLE"
| "OLIVE"
| "JUNIPER"
| "OAK"
| "PINE"
| "CYPRESS_PINE"
| "HAZEL"
| "GRAMINALES"
| "RAGWEED"
| "MUGWORT"
| "JAPANESE_CEDAR"
| "JAPANESE_CYPRESS";
displayName?: string;
indexInfo?: IndexInfo;
inSeason?: boolean;
plantDescription?: PlantDescription;
}

§Properties

§
code?: "PLANT_UNSPECIFIED" | "ALDER" | "ASH" | "BIRCH" | "COTTONWOOD" | "ELM" | "MAPLE" | "OLIVE" | "JUNIPER" | "OAK" | "PINE" | "CYPRESS_PINE" | "HAZEL" | "GRAMINALES" | "RAGWEED" | "MUGWORT" | "JAPANESE_CEDAR" | "JAPANESE_CYPRESS"
[src]

The plant code name. For example: "COTTONWOOD". A list of all available codes could be found here.

§
displayName?: string
[src]

A human readable representation of the plant name. Example: “Cottonwood".

§
indexInfo?: IndexInfo
[src]

This object contains data representing specific pollen index value, category and description.

§
inSeason?: boolean
[src]

Indication of either the plant is in season or not.

§
plantDescription?: PlantDescription
[src]

Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos.