get_profile: Retrieve a user profile by username.

Description Usage Arguments Details Examples

View source: R/Identity.R

Description

Retrieve a user profile by username.

Usage

1
2
3
4
get_profile(
 username,
 token
)

Arguments

username

String containing a valid username

token

Token object obtained from authorize()

Details

If authenticated as the requested user, the email key will be visible, and the num_list count will include the user’s private lists. If authenticated as the requested user or the user’s collection/wantlist is public, the num_collection / num_wantlist keys will be visible.

Examples

1
2
token <- authorize("key", "secret")
profile <- get_profile("name", token)

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