Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CurrentConditionAPI

Hierarchy

Index

Constructors

constructor

Properties

apikey

apikey: string

Accu Weather API key.

Private axiosInstance

axiosInstance: AxiosInstance

The instance that send requests to API

detail

detail: boolean

Whether return full object when searching

language

language: string

Language of retrieve data

Methods

HistoricalCurrentConditions

  • Parameters

    • hour: 24 | 6
    • locationKey: string

    Returns Promise<ICurrentConditionData[]>

currentCondition

  • Parameters

    • locationKey: string

    Returns Promise<ICurrentConditionData[]>

Protected handleError

topCitiesCurrentCondition

Generated using TypeDoc