Description Usage Arguments Details Examples
Retrieve a list of folders in a user’s collection.
1 2 3 4 | get_collection(
username,
token = NA
)
|
username |
String containing a valid username |
token |
(optional) Token object obtained from authorize() or a string containing your personal access token |
If the collection has been made private by its owner, authentication as the collection owner is required. If you are not authenticated as the collection owner, only folder ID 0 (the “All” folder) will be visible (if the requested user’s collection is public).
1 2 | token <- authorize("key", "secret")
collection <- get_collection("username", token)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.