You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stations.R
\name{wl_stations}
\alias{wl_stations}
\title{Get all weather stations associated with your API Key}
\usage{
wl_stations(
api_key = Sys.getenv("WEATHERLINK_API_KEY"),
api_secret = Sys.getenv("WEATHERLINK_API_SECRET")
)
}
\arguments{
\item{api_key, api_secret}{WeatherLink API (V2) key/secret. Generate & retrieve them from
\href{https://www.weatherlink.com/account}{your account page}. Automagically retrieved from
\code{WEATHERLINK_API_KEY} and \code{WEATHERLINK_API_SECRET} environment variables.}
}
\value{
data frame with a \code{generated_at} attribute
}
\description{
Returns data for all weather stations associated with the API Key passed in the query parameters.
Currently all stations are returned in a single response. A future enhancement will provide pagination
to reduce the size of the response.
}
\references{
\href{https://weatherlink.github.io/v2-api/api-reference}{API Endpoint};
\href{https://weatherlink.github.io/v2-api/data-structure-types}{Data structure types}
}