function [artists, mbids] = fm_retrieve_artist(artist_name)
%[tags, tag_weight] = fm_get_artist_tags(artist_name)
%
% returns last.fm artist tags and tag weights for given artist
% this uses a lastpy python script to handle the REST data exchange

% call python function
str = python('fm_retrieve_artist.py',artist_name);

% parse text function output
artists = textscan(str,'%s %s','Delimiter',',');
mbids = artists{2};
artists = artists{1};