R Interface to the Giphy API

An interface to the 'API' of 'Giphy', a popular index-based search engine for 'GIFs' and animated stickers (see < http://giphy.com/faq> and < https://github.com/Giphy/GiphyAPI> for more information about 'Giphy' and its 'API') . This package also provides a 'RStudio Addin', which can help users easily search and download 'GIFs' and insert them to a 'rmarkdown' presentation.


CRAN_version CRAN_download

Want to add some GIFs to your awesome rmarkdown presentation?

exciting

Introduction

I guess this is one of the least productive R packages in our community...

No more to say. Enjoy more GIFs in your Rmarkdown documents.

Screenshot

Install

install.packages("giphyr")
 
# For dev version
devtools::install_github("haozhu233/giphyr")

Usage

If you are using a recent version of RStudio (v0.99.878 or later), you should be able to find an "Addins" dropdown menu on the toolbar. This package comes with a RStudio Addin called "Add GIFs", which has a user friendly interface you can use to browse, download or insert GIFs or links to a rmarkdown document.

For useRs who are not using RStudio, I'm planning to include a stand-alone shiny app that can be run directly in the console in the next release.

Note

I'm currently using the public beta key for the Giphy API. They say there is a rate limit. I will request a Production key if needed.

News

giphyr 0.1.1

  • Added a stand alone add_gifs() function to start the addin outside of RStudio.

  • Add dplyr to imports to accommodate incoming purrr release.

giphyr 0.1.0

  • Initial Release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("giphyr")

0.1.2 by Hao Zhu, 8 months ago


https://github.com/haozhu233/giphyr


Report a bug at https://github.com/haozhu233/giphyr/issues


Browse source code at https://github.com/cran/giphyr


Authors: Hao Zhu [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports httr, shiny, miniUI, tibble, rstudioapi, utils, dplyr, purrr


See at CRAN