test_that("get_annotation returns the right output formats", {
skip_on_cran()
skip_if_offline()
output <- get_annotation(annotation_id = 16511101)
expect_is(output, "genius_annotation")
})
test_that("get_referent returns the right output formats", {
skip_on_cran()
skip_if_offline()
output <- get_referent(song_id = 3039923)
expect_is(output, "genius_referent")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.