How to use the rpkg.net API v1.0

The aim of this initial API release is to allow functionalization of various HTML elements in Shiny applications and Markdown documents. For example, many R dashboard packages allow creation of profile pages, like buttons, follow buttons. But none of those packages offer easy ways to make those features functional.

The api.rpkg.net R package, although not yet published on CRAN, will be used to accomplish these goals. The initial features will include the following -

We will provide secure storage for user inputs for the above integerations. This means you will now be able to easily track likes, followers, ratings and views on your apps and documents published online!

Example simple usage: Like, Follow and tracking of views

# Install the package
install.packages("api.rpkg.net");

# Load the package
library("api.rpkg.net");

# Implement
setup.API(key = "223cw23f2v22222v") # this should be obtained from https://api.rpkg.net/endp
setup.likes(id="button1")
setup.follow(id="follow1")

fetchLikeCount();
fetchFollowCount();
fetchPageViews();


        

Return to RPKG.net APIGet FREE API keys