% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getkey.R
\name{getkey}
\alias{getkey}
\title{Function to get API key.}
\usage{
getkey(x = NULL, service)
}
\arguments{
\item{x}{An API key, defaults to NULL.}

\item{service}{The API data provider, used to match to default guest key.}
}
\description{
Checks first to get key from your .Rprofile file for an API key with the
		name 'tropicoskey'. If it is not found, the default key is used.
}
\examples{
\dontrun{
getkey(service="tropicos")
getkey(service="eol")
}
}
\keyword{internal}
