checkKey | R Documentation |
You can request an API key on the Brickset website here: https://brickset.com/tools/webservices/requestkey/
checkKey(key = getOption("brickset_key"))
key |
the Brickset API key |
The API key can be passed as function parameter or may be set globally using:
options(brickset_key = YOUR_API_KEY)
Brickset API documentation is available here: https://brickset.com/article/52664/api-version-3-documentation
TRUE if the API key is valid.
## Not run:
options(brickset_key = 'BRICKSET_KEY',
brickset_username = 'BRICKSET_UERNAME',
brickset_password = 'BRICKSET_PASSWORD')
checkKey() # Will return TRUE if the credentials are correct
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.