change_release_rating: Change the rating of a release

Description Usage Arguments Details Examples

View source: R/Collection.R

Description

Change the rating of a release

Usage

1
2
3
4
5
6
7
8
change_release_rating(
 username,
 folder_id,
 release_id,
 instance_id
 token,
 rating = 0
)

Arguments

username

String containing a valid username

folder_id

Valid identifier for a folder

release_id

Integer value representing a valid release ID

instance_id

The ID of the instance

token

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

rating

Integer value between 0-5

Details

Change the rating on a release and/or move the instance to another folder. Authentication as the collection owner is required.

Examples

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

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