get_annotation | R Documentation |
The Genius API lets you return data for a specific annotation, given an
annotation ID. get_annotation
returns this data in full.
get_annotation(annotation_id, access_token = genius_token())
annotation_id |
ID of the annotation |
access_token |
Genius' client access token, defaults to |
A Genius annotation is a piece of content about a part of a document. The document may be a song (hosted on Genius) or a web page (hosted anywhere). The part of a document that an annotation is attached to is called a referent.
a genius_annotation
object that contains the extracted content from the request,
the original JSON response object and the request path.
Other annotation:
get_referent()
## Not run: get_annotation(annotation_id = 16511101) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.