Developer API token.
URL string for making the request.
Default implementation of ClientFactory for making authorized requests to the DarkSky API.
Note: Get your token from https://darksky.net/dev/account.
Developer API token.
Optional config to change the way axios makes the request.
Client for interacting with the API.
Takes a params object and converts it to an HTTP query parameters string.
const params: RequestParams = { exclude: ['hourly', 'daily'], lang: 'en' }
const query: string = createQueryParams(params)
// query = '?exclude=hourly,daily&lang=en'
Params object to convert into Query parameters.
A query parameter string.
Make the API request, and add the response headers to the result.
Type of response that extends Forecast.
Developer API token.
Forecast request data.
Optional query params to add to the request.
Optional config to change the way axios makes the request.
Forecast response with the HTTP headers.
Generated using TypeDoc
Create the URL for the request which includes the api token, and location.