search_songs {rechonest} | R Documentation |
To search song
Description
To search song
Usage
search_songs(api_key, artist = NA, artist_id = NA, title = NA,
hotttnesss = T, style = NA, artist_location = T, combined = NA,
sort = NA, audio_summary = F, partner = NA, min_name = NA,
discovery = T, max_name = NA, min_val = NA, max_val = NA,
start = NA, results = 15, mode = NA, key = NA, currency = T,
description = NA, rank_type = "relevance", mood = NA, familiarity = T,
song_type = NA, artist_start_year_before = NA,
artist_start_year_after = NA, artist_end_year_before = NA,
artist_end_year_after = NA)
Arguments
api_key |
Echo Nest API key |
artist |
artist's name |
artist_id |
artist's id |
title |
song's title |
hotttnesss |
song's hotttnesss |
style |
artist's style |
artist_location |
artist location |
combined |
query both artist and title fields |
sort |
to sort ascending or descending |
audio_summary |
song's audio summary |
partner |
partner catalog |
min_name |
features' minimum value settings |
discovery |
artist's discovery measure |
max_name |
features' maximum value settings |
min_val |
features' minimum value settings |
max_val |
features' maximum value settings |
start |
the desired index of the first result returned |
results |
maximum size |
mode |
the mode of songs |
key |
the key of songs in the playlist |
currency |
song currency |
description |
song's description |
rank_type |
For search by description, style or mood indicates whether results should be ranked by query relevance or by artist familiarity |
mood |
a mood like happy or sad |
familiarity |
song's familiarity |
song_type |
controls the type of songs returned |
artist_start_year_before |
Matches artists that have an earliest start year before the given value |
artist_start_year_after |
Matches artists that have an earliest start year after the given value |
artist_end_year_before |
Matches artists that have a latest end year before the given value |
artist_end_year_after |
Matches artists that have a latest end year after the given value |
Value
data frame giving artist's familiarity
Examples
## Not run:
data=search_songs(api_key,style="pop",results=31)
## End(Not run)