knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(proverbs)
Certain bible translations are hidden behind an API key-wall, such as the ESV - English Standard Version. You can access the ESV version of your daily proverb after you obtain a free API key from the ESV website. Here are the steps; takes about 5 minutes.
Go to https://www.esv.org/ and sign up for a free account.
Navigate to https://api.esv.org/account/ and click on Create an API application:
Check a few boxes and you'll see a token like this:
Copy the token after Token and keep it handy.
Assuming you're using RStudio, enter this token in a special environmental variable.
usethis::edit_r_environ()
Restart your RStudio session and you should be able to view the ESV version
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.