This package let’s you access the RESTful API from Wattsight. The API is currently in beta and breaking changes might happen.
Get a client id and password from Wattsight and save it to the .Renviron file as.
WS_CLIENT_ID = <CLIENT ID> WS_CLIENT_SECRET = <PASSWORD>
You can install mkonline2 from github with:
# install.packages("devtools") devtools::install_github("krose/mkonline2")
Use the examples from the exported functions.
## basic example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.