Skip to Content

R SDK

The sharpapi R package is a client for the SharpAPI REST API.

InstallationPermalink for this section

Install from r-universe, which provides pre-built binaries:

install.packages("sharpapi", repos = c("https://sharp-api.r-universe.dev", "https://cloud.r-project.org"))

Or install from source on GitHub:

remotes::install_github("Sharp-API/SharpAPI-R")

Source and issues: https://github.com/Sharp-API/SharpAPI-R 

AuthenticationPermalink for this section

Set your API key as an environment variable before calling the package:

Sys.setenv(SHARPAPI_KEY = "your-key")

See the package README for usage and the list of available functions.

Last updated on