knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
rTwitchAPI
allows you to make calls to the API of the popular streaming website twitch.tv with simple R functions, allowing users to interact with the API even without great understaing of REST APIs and http. Since R is primarily used for statistical analysis, currently, the package only provides access to endpoints that return data, for example, GET https://api.twitch.tv/helix/streams
. Users who might need other functionalities are very likely to also need integration with tools from other programming languages and/or have enough background to directly implement the call with httr
.
In summary, rTwitchAPI
removes the burden of writing the calls to specific endpoints and proccess results, making code cleaner, simpler and more accessible. It is just an interface to access the API and is in no way related to Twitch or the Twitch API. As stated in the official documentation, by using it, you agree to Twitch Developer Services Agreement.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.