get_collection_items_by_folder: Collection Items By Folder

Description Usage Arguments Details Examples

View source: R/Collection.R

Description

Collection Items By Folder

Usage

1
2
3
4
5
6
get_collection_items_by_folder(
 username,
 folder_id,
 options = list(),
 token = NA
)

Arguments

username

String containing a valid username

folder_id

Valid identifier for a folder

options

(optional) List of named parameters, see Details

token

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

Details

Returns the list of item in a folder in a user’s collection. Accepts Pagination parameters. Basic information about each release is provided, suitable for display in a list. For detailed information, make another API call to fetch the corresponding release. If folder_id is not 0, or 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 public notes fields will be visible. Valid sort values are: label, artist, title, catno, format, rating, added, year

Examples

1
items <- get_collection_items_by_folder("username", 0, options = list("sort" = "label"))

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