mb_lookup: Lookup requests on MusicBrainz

Description Usage Arguments Value See Also Examples

Description

Lookup requests on MusicBrainz

Usage

1
mb_lookup(resource, id)

Arguments

resource

the part of the api you want to call

  • artist

  • label

  • recording

  • release

  • release group

  • work

id

the musicbrainz id

Value

a list with data from the API

See Also

MusicBrainz JSON Web Service

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Not run: 

# Artist lookup
artist_data <- mb_lookup("artist", "5b11f4ce-a62d-471e-81fc-a69a8278c7da")

# Label lookup
label_data <- mb_lookup("label", "46f0f4cd-8aab-4b33-b698-f459faf64190")

# Recording lookup
recording_data <- mb_lookup("recording", "fcbcdc39-8851-4efc-a02a-ab0e13be224f")

# Release lookup
release_data <- mb_lookup("release", "59211ea4-ffd2-4ad9-9a4e-941d3148024a")

# Release lookup
release_group_data <- mb_lookup("release-group", "c9fdb94c-4975-4ed6-a96f-ef6d80bb7738")

# Release lookup
work_data <- mb_lookup("work", "b1df2cf3-69a9-3bc0-be44-f71e79b27a22")


## End(Not run)

mikkelkrogsholm/musicbrainz documentation built on May 6, 2019, 9:55 a.m.