add_to_wantlist: Add a release to your wantlist

Description Usage Arguments Details Examples

View source: R/Wantlist.R

Description

Add a release to your wantlist

Usage

1
2
3
4
5
6
add_to_wantlist(
 username,
 release_id,
 token,
 options = list()
)

Arguments

username

String containing a valid username

release_id

Integer value representing a valid release ID

token

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

options

(optional) List of named parameters, see Details

Details

Add a release to a user’s wantlist. Authentication as the wantlist owner is required. #'## Parameters

Examples

1
2
3
4
token <- authorize("key", "secret")
add_to_wantlist("username", 1000, token)

add_to_wantlist("username", 1000, token, options = list(notes = "B-side is really cool", rating = 4))

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