def list_terms(type):
 kwargs = {'type': type}
 result = util.callm(('%s/%s' % ('artist', 'list_terms')), kwargs)
 return result['response']['terms']

def list_terms ( type ) : kwargs = { 'type' : type } result = util . callm ( ( '%s/%s' % ( 'artist' , 'list_terms' ) ) , kwargs ) return result [ 'response' ] [ 'terms' ]
get a list of best terms to use with search args: kwargs: type : the type of term to return .