Pollen API (pollen:v1)

2024-06-12

2 new methods | New API

Additions

    Methods
  • pollen.forecast.lookup

      Flat Path : v1/forecast:lookup

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameters :

        pageSize

          Location : query

          Type : integer

          Format : int32

          Description : Optional. The maximum number of daily info records to return per page. The default and max value is 5 (5 days of data).

        days

          Type : integer

          Description : Required. A number that indicates how many forecast days to request (minimum value 1, maximum value is 5).

          Location : query

          Format : int32

        location.latitude

          Location : query

          Format : double

          Type : number

          Description : The latitude in degrees. It must be in the range [-90.0, +90.0].

        plantsDescription

          Location : query

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

          Type : boolean

        languageCode

          Type : string

          Description : Optional. Allows the client to choose the language for the response. If data cannot be provided for that language the API uses the closest match. Allowed values rely on the IETF BCP-47 standard. Default value is "en".

          Location : query

        pageToken

          Location : query

          Description : Optional. A page token received from a previous daily call. It is used to retrieve the subsequent page. Note that when providing a value for the page token all other request parameters provided must match the previous call that provided the page token.

          Type : string

        location.longitude

          Type : number

          Description : The longitude in degrees. It must be in the range [-180.0, +180.0].

          Format : double

          Location : query

      HTTP Method : GET

      Description : Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.

      Path : v1/forecast:lookup

  • pollen.mapTypes.heatmapTiles.lookupHeatmapTile

      HTTP Method : GET

      Flat Path : v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}

      Parameters :

        mapType

          Enum Descriptions :

        • Unspecified map type.
        • The heatmap type will represent a tree index graphical map.
        • The heatmap type will represent a grass index graphical map.
        • The heatmap type will represent a weed index graphically map.
        • Description : Required. The type of the pollen heatmap. Defines the combination of pollen type and index that the map will graphically represent.

          Location : path

          Enum :

        • MAP_TYPE_UNSPECIFIED
        • TREE_UPI
        • GRASS_UPI
        • WEED_UPI
        • Required : Yes

          Type : string

        zoom

          Type : integer

          Location : path

          Format : int32

          Description : Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view. * Zoom level 0 is the entire world in a single tile. * Zoom level 1 is the entire world in 4 tiles. * Zoom level 2 is the entire world in 16 tiles. * Zoom level 16 is the entire world in 65,536 tiles. Allowed values: 0-16

          Required : Yes

        x

          Required : Yes

          Location : path

          Description : Required. Defines the east-west point in the requested tile.

          Format : int32

          Type : integer

        y

          Type : integer

          Location : path

          Description : Required. Defines the north-south point in the requested tile.

          Format : int32

          Required : Yes

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Returns a byte array containing the data of the tile PNG image.

      Path : v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}

      Parameter Order :

    • mapType
    • zoom
    • x
    • y