knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(studentenstatistikNRW) library(httr2)
vignette("wrapping-apis", package = "httr2")
httr2::secret_has_key( "STUDENTENSTATISTIKNRW_KEY" )
# Using wiesbaden::save_credentials() does not work in automated setting, see https://github.com/r-lib/keyring/issues/68 wiesbaden::test_login( genesis = c( db = "de", user = httr2::secret_decrypt( "F7n1i0Z8YhyeDEYjnNaw14KEYzXc3ICfqGw", "STUDENTENSTATISTIKNRW_KEY" ), password = httr2::secret_decrypt( "HttWvnmkxOru6VKzxox084iIEv8ZrFIqVXEO", "STUDENTENSTATISTIKNRW_KEY" ) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.