giphypraise

giphypraise is an R package that combines the praise package with the giphy api. It parses a string to add positive words using the praise package, then searches giphy for a gif using one of those words.

library(giphypraise)

# See the Giphy API Github page for more information on keys (https://github.com/Giphy/GiphyAPI)
set_giphy_api_key(readLines("giphy_api_key.txt"))

praise_with_giphy("You are a ${adjective} person, keep up the ${adjective} work!")


gergness/giphypraise documentation built on May 17, 2019, 2:10 a.m.