README.md

Build Status

soracomr

Touches SORACOM API (v1) from R.

Installation

# install.packages("devtools")
devtools::install_github("kos59125/soracomr")

Examples

library(soracomr)

# Get a 30-minute-lifetime token for API use
token <- get_token("Your Email Address", "Your Password", timeout = "30 mins")
# Get subscribers
subscribers <- list_subscribers(token)
print(subscribers)
# Get report for the first subscriber
first_subscriber <- head(subscribers, 1)
stats <- get_stats(token, first_subscriber, period = "minutes")
print(head(stats))

Support API List



kos59125/soracomr documentation built on May 20, 2019, 1:08 p.m.