In [5]:
import requests
response = requests.get('https://api.spotify.com/v1/search?query=Lil&type=artist&limit=50&offest=50&market=US')
big_data = response.json()
In [6]:
len(big_data['artists'])
Out[6]:
In [ ]:
FIRST PAGE
'https://api.spotify.com/v1/search?query=Lil&type=artist&limit=50&offest=0&market=US'
SECOND PAGE
'https://api.spotify.com/v1/search?query=Lil&type=artist&limit=50&offest=50&market=US'
THIRD PAGE
'https://api.spotify.com/v1/search?query=Lil&type=artist&limit=50&offest=150&market=US'
FOURTH PAGE
'https://api.spotify.com/v1/search?query=Lil&type=artist&limit=50&offest=200&market=US'