artist_search: Search for an artist

Description Usage Arguments Details Value See Also

Description

Search for a specific artist, the name needs to match exactly. But you can also search for similar artists but the name needs to match exactly too.

Usage

1
2
3
artist_search(name = NULL, similar_to = NULL, decade = NULL,
  genre = NULL, country = NULL, gender = NULL, limit = NULL,
  offset = NULL, query = NULL, api_key = NULL)

Arguments

name

*optional Return artists who match the name; exact, case insensitive "John+Lennon"

similar_to

*optional Return artists who are similar to the given name; exact, case insensitive &similar_to=Pink+Floyd

decade

*optional a decade for instance

genre

*optional a genre such as Blues, Rock etc.

country

see the dictionary for more info about the country

gender

male or female

limit

*optional max number of results defaults to 20

offset

*optional pagination which page of the results do you want

query

use this if you know exactly what your query is, leave NULL if you have want to build up the query in steps

api_key

your developer API key see getting_api_key

Details

https://developer.musicgraph.com/api-docs/v2/dictionary

Value

a response object.

See Also

Other artists_endpoint: artist_edges, artist_lookup


RMHogervorst/musicgraph documentation built on May 8, 2019, 7:33 a.m.