Function openWeatherMapClient

  • Default implementation of ClientFactory for making authorized requests to the OpenWeatherMap API.

    Note: Get your token from OpenWeatherMap.

    Returns

    Client for interacting with the API.

    Parameters

    • apiToken: string

      Developer API token.

    • requestConfig: AxiosRequestConfig<any> = {}

      Optional config to change the way axios makes the request.

    Returns OpenWeatherMapClient

Generated using TypeDoc