Testing spotify API in python