Interacting with and manipulating data from the Tessitura Service API. Inspired by Micah Walter's tessitura-tools for Python.
Hopefully this package will be up on CRAN soon. Until then you can install the development version with:
# install.packages("devtools")
devtools::install_github("gdgkirkley/tessituraR")
This is a basic example of usage:
library(tessituraR)
host <- "http://mytessi.tessituranetwork.com/"
basePath <- "TessituraService"
resource <- "/TXN/ModesofSale"
# Keep your credentials in environment variables!
credentials <- createCredentials("creif", "admin", "MET95", "impresario")
# Request is a GET by default. Change flatten to FALSE if you want the entire JSON object back.
modesOfSale <- callTessi(host, basePath, resource, credentials)