add_to_collection_folder: Add release to collection

Description Usage Arguments Details Examples

View source: R/Collection.R

Description

Add release to collection

Usage

1
2
3
4
5
6
add_to_collection_folder(
 username,
 folder_id,
 release_id,
 token
)

Arguments

username

String containing a valid username

folder_id

Valid identifier for a folder

release_id

Integer value representing a valid release ID

token

Token object obtained from authorize() or a string containing your personal access token

Details

Add a release to a folder in a user’s collection. The folder_id must be non-zero – you can use 1 for “Uncategorized”. Authentication as the collection owner is required.

Examples

1
2
token <- authorize("key", "secret")
add_to_collection_folder("username", 0, 1000, token)

Pascallio/discogsAPI documentation built on Dec. 31, 2020, 3:27 p.m.