UNPKG

node-apple-weatherkit

Version:
9 lines (8 loc) 388 B
import { BaseEndpoint } from './Base'; import { QueryParams, Err } from '../../types'; import { WeatherKitResponse } from '../../types'; export declare class WeatherEndpoint extends BaseEndpoint { protected readonly accessToken: string; constructor(accessToken: string); get(lat: number, lon: number, params?: QueryParams, lang?: string): Promise<WeatherKitResponse | Err>; }