Rtumblr

Rtumblr is a wrapper for the official tumblr API. (An existing CRAN package has been archived)

Installation

You can install the development version of Rtumblr like so:

# devtools::install_github("schochastics/Rtumblr")
install.packages("Rtumblr", repos = c('https://schochastics.r-universe.dev', 'https://cloud.r-project.org'))

API keys

You need to register an app here: https://www.tumblr.com/oauth/apps Then, create an environment variable called “RTUMBLR_TOKEN” (for instance in .Renviron) from the consumer_key and the consumer_secret as follows. If you have

consumer_key = 123456789
consumer_secret = abcdefghi

Then your environment variable RTUMBLR_TOKEN should be 123456789;abcdefghi

Usage

Most API endpoints only work with your own account. The ones already implemented include:

Implemented endpoints that work with any account are:

All function return a tibble (or list of tibble). To get information about columns, see the official API documentation: https://www.tumblr.com/docs/en/api/v2