MyNixOS website logo
Description

Collecting and Analyzing 'Tumblr' Data.

An implementation of calls designed to collect 'Tumblr' data via its Application Program Interfaces (API), which can be found at the following URL: <https://www.tumblr.com/docs/en/api/v2>.

Rtumblr

CRANstatus R-CMD-check Codecov testcoverage

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")

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:

  • get_blog_blocks(): get a list of accounts you blocked
  • get_blog_likes(): get a list of posts you liked
  • get_blog_followers(): get your followers
  • get_blog_following(): get accounts you follow

Implemented endpoints that work with any account are:

  • get_blog_avatar(): get the avatar of a blog
  • get_blog_info(): get the general info of a blog
  • get_blog_posts(): get the posts of a blog
  • get_posts_tag(): get posts with a specific tag.

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

Metadata

Version

0.1.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows