knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Interacting with and manipulating data from the Tessitura Service API. Inspired by Micah Walter's tessitura-tools for Python.
You can install the released version of tessituraR from CRAN with:
``` {r, eval=FALSE} install.packages("tessituraR")
And the development version from [GitHub](https://github.com/) with: ``` {r, eval=FALSE} # 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.