kos59125 / soracomr

SORACOM API Client in R

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

SORACOM API Client in R

License:Other


Languages

Language:R 100.0%