I am a bit confused as to how access artists name in this JSON result:
artists
{ \"tracks\" : { \"href\" : \"https://api.spotify.com/
You should do items = results['tracks']['items'][0]['artists'][0]['name'](although this is technically hardcoded)
items = results['tracks']['items'][0]['artists'][0]['name']
As your artist and items object are arrays (with only one, so we reference the first with [0])