In [10]:
import requests

Grade = 7/8


In [11]:
response = requests.get('https://api.spotify.com/v1/search?query=lil&type=artist&type=artist&market=US&limit=50')

In [12]:
print(response.text)
data = response.json()


{
  "artists" : {
    "href" : "https://api.spotify.com/v1/search?query=lil&offset=0&limit=50&type=artist&market=US",
    "items" : [ {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/55Aa2cqylxrFIXC767Z865"
      },
      "followers" : {
        "href" : null,
        "total" : 2633673
      },
      "genres" : [ "dirty south rap", "pop rap", "southern hip hop", "trap music" ],
      "href" : "https://api.spotify.com/v1/artists/55Aa2cqylxrFIXC767Z865",
      "id" : "55Aa2cqylxrFIXC767Z865",
      "images" : [ {
        "height" : 1239,
        "url" : "https://i.scdn.co/image/cf012139c3b8681b46a66bae70558a8a336ab231",
        "width" : 1000
      }, {
        "height" : 793,
        "url" : "https://i.scdn.co/image/fffd48d60e27901f6e9ce99423f045cb2b893944",
        "width" : 640
      }, {
        "height" : 248,
        "url" : "https://i.scdn.co/image/bf03141629c202e94b206f1374a39326a9d8c6ca",
        "width" : 200
      }, {
        "height" : 79,
        "url" : "https://i.scdn.co/image/521f99f2469883b8806a69a3a2487fdd983bd621",
        "width" : 64
      } ],
      "name" : "Lil Wayne",
      "popularity" : 86,
      "type" : "artist",
      "uri" : "spotify:artist:55Aa2cqylxrFIXC767Z865"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/6icQOAFXDZKsumw3YXyusw"
      },
      "followers" : {
        "href" : null,
        "total" : 43481
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/6icQOAFXDZKsumw3YXyusw",
      "id" : "6icQOAFXDZKsumw3YXyusw",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/add25baa69fc7bfd9cfd5d87716941028c2d6736",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/3f8205117bdd028a648ad3fc925f9fb46dfa26fa",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/ccc54e2911dbc5463acb401ee61489e27d991408",
        "width" : 64
      } ],
      "name" : "Lil Yachty",
      "popularity" : 73,
      "type" : "artist",
      "uri" : "spotify:artist:6icQOAFXDZKsumw3YXyusw"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/4O15NlyKLIASxsJ0PrXPfz"
      },
      "followers" : {
        "href" : null,
        "total" : 65455
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/4O15NlyKLIASxsJ0PrXPfz",
      "id" : "4O15NlyKLIASxsJ0PrXPfz",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/8c02344d1cb9069a5a2a9d1e860dc88b04088549",
        "width" : 640
      }, {
        "height" : 320,
        "url" : "https://i.scdn.co/image/28ac78387ad26048ccab0b671cbaddb30a2b52da",
        "width" : 320
      }, {
        "height" : 160,
        "url" : "https://i.scdn.co/image/6b074e198860470024e57ebbc1dda9f58088c506",
        "width" : 160
      } ],
      "name" : "Lil Uzi Vert",
      "popularity" : 74,
      "type" : "artist",
      "uri" : "spotify:artist:4O15NlyKLIASxsJ0PrXPfz"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/1tqhsYv8yBBdwANFNzHtcr"
      },
      "followers" : {
        "href" : null,
        "total" : 233349
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/1tqhsYv8yBBdwANFNzHtcr",
      "id" : "1tqhsYv8yBBdwANFNzHtcr",
      "images" : [ {
        "height" : 1000,
        "url" : "https://i.scdn.co/image/a9c000526b14038b1fe69c72b0775f125bdf08af",
        "width" : 1000
      }, {
        "height" : 640,
        "url" : "https://i.scdn.co/image/31eac6ae8bdd6909236b5fd729d17406cc794e2d",
        "width" : 640
      }, {
        "height" : 200,
        "url" : "https://i.scdn.co/image/24dcb67ddd3afc794a4b1dab4cc1a47035a0beab",
        "width" : 200
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/2d2ebd85f676535129dbb7c3a4bb96e7bfd940a7",
        "width" : 64
      } ],
      "name" : "Lil Dicky",
      "popularity" : 69,
      "type" : "artist",
      "uri" : "spotify:artist:1tqhsYv8yBBdwANFNzHtcr"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/6z7xFFHxYkE9t8bwIF0Bvg"
      },
      "followers" : {
        "href" : null,
        "total" : 221986
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/6z7xFFHxYkE9t8bwIF0Bvg",
      "id" : "6z7xFFHxYkE9t8bwIF0Bvg",
      "images" : [ {
        "height" : 667,
        "url" : "https://i.scdn.co/image/f89376b78fe94a1692a5768f8f3440a4397bfb17",
        "width" : 1000
      }, {
        "height" : 427,
        "url" : "https://i.scdn.co/image/fbf5353d4410a540cc74285d387d9e59d038592a",
        "width" : 640
      }, {
        "height" : 133,
        "url" : "https://i.scdn.co/image/39995515de01dc9eb91bc9c17d5c1921e7e54a1f",
        "width" : 200
      }, {
        "height" : 43,
        "url" : "https://i.scdn.co/image/b34f525381a78c72f423d74b76a47e1a1da9f7f8",
        "width" : 64
      } ],
      "name" : "Boosie Badazz",
      "popularity" : 67,
      "type" : "artist",
      "uri" : "spotify:artist:6z7xFFHxYkE9t8bwIF0Bvg"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/7sfl4Xt5KmfyDs2T3SVSMK"
      },
      "followers" : {
        "href" : null,
        "total" : 257117
      },
      "genres" : [ "crunk", "dirty south rap", "southern hip hop" ],
      "href" : "https://api.spotify.com/v1/artists/7sfl4Xt5KmfyDs2T3SVSMK",
      "id" : "7sfl4Xt5KmfyDs2T3SVSMK",
      "images" : [ {
        "height" : 664,
        "url" : "https://i.scdn.co/image/885941564eadf27b7ee86d089e87967f9e3cf612",
        "width" : 1000
      }, {
        "height" : 425,
        "url" : "https://i.scdn.co/image/b5495566665b41f3dc2560d37d043e4a3dc2ca41",
        "width" : 640
      }, {
        "height" : 133,
        "url" : "https://i.scdn.co/image/6ea9f92a43e23eaa7ced98d8773de37229b1410d",
        "width" : 200
      }, {
        "height" : 43,
        "url" : "https://i.scdn.co/image/ddef386b560619f296a27059874ad3fc7fd5d85d",
        "width" : 64
      } ],
      "name" : "Lil Jon",
      "popularity" : 72,
      "type" : "artist",
      "uri" : "spotify:artist:7sfl4Xt5KmfyDs2T3SVSMK"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/6L3x3if9RVimruryD9LoFb"
      },
      "followers" : {
        "href" : null,
        "total" : 65410
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/6L3x3if9RVimruryD9LoFb",
      "id" : "6L3x3if9RVimruryD9LoFb",
      "images" : [ {
        "height" : 879,
        "url" : "https://i.scdn.co/image/8942e9c0745697fa8e3e75f02aa461d722a0519d",
        "width" : 587
      }, {
        "height" : 299,
        "url" : "https://i.scdn.co/image/9fa49263a60cd27888e23b6c6c10c930af48114e",
        "width" : 200
      }, {
        "height" : 96,
        "url" : "https://i.scdn.co/image/c11e5e1e9d21cee430c1bd7c72e387422854bd6a",
        "width" : 64
      } ],
      "name" : "King Lil G",
      "popularity" : 61,
      "type" : "artist",
      "uri" : "spotify:artist:6L3x3if9RVimruryD9LoFb"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/3hcs9uc56yIGFCSy9leWe7"
      },
      "followers" : {
        "href" : null,
        "total" : 135428
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/3hcs9uc56yIGFCSy9leWe7",
      "id" : "3hcs9uc56yIGFCSy9leWe7",
      "images" : [ {
        "height" : 482,
        "url" : "https://i.scdn.co/image/8ec7486ace06996b8b9aa08228dd10a37153d139",
        "width" : 724
      }, {
        "height" : 426,
        "url" : "https://i.scdn.co/image/869b4ae8e7fc253adc96fea5b9c75a27fc1ac498",
        "width" : 640
      }, {
        "height" : 133,
        "url" : "https://i.scdn.co/image/e07ba06307086c181fb41c80979ecf33d0edd772",
        "width" : 200
      }, {
        "height" : 43,
        "url" : "https://i.scdn.co/image/47b22dcf9cbcf53a6a1d842044bade9390e36b8a",
        "width" : 64
      } ],
      "name" : "Lil Durk",
      "popularity" : 60,
      "type" : "artist",
      "uri" : "spotify:artist:3hcs9uc56yIGFCSy9leWe7"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/3ciRvbBIVz9fBoPbtSYq4x"
      },
      "followers" : {
        "href" : null,
        "total" : 17237
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/3ciRvbBIVz9fBoPbtSYq4x",
      "id" : "3ciRvbBIVz9fBoPbtSYq4x",
      "images" : [ {
        "height" : 500,
        "url" : "https://i.scdn.co/image/aafc4156598fa9f8f052ec5687e648ba9120f07e",
        "width" : 554
      }, {
        "height" : 181,
        "url" : "https://i.scdn.co/image/7a9ccdaebabf83f763af6664d5d483c57332bc08",
        "width" : 200
      }, {
        "height" : 58,
        "url" : "https://i.scdn.co/image/e74083480033e85373d3deb546f16d8beedeccb3",
        "width" : 64
      } ],
      "name" : "Lil Jon & The East Side Boyz",
      "popularity" : 60,
      "type" : "artist",
      "uri" : "spotify:artist:3ciRvbBIVz9fBoPbtSYq4x"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/4uSN8Y3kgFNVULUWsZEAVW"
      },
      "followers" : {
        "href" : null,
        "total" : 44804
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/4uSN8Y3kgFNVULUWsZEAVW",
      "id" : "4uSN8Y3kgFNVULUWsZEAVW",
      "images" : [ {
        "height" : 1000,
        "url" : "https://i.scdn.co/image/07c75abe717a9b704083ef38c4446abbff10fda5",
        "width" : 1000
      }, {
        "height" : 640,
        "url" : "https://i.scdn.co/image/1903fd19c7279418c71da62aa02ce47cccf63e52",
        "width" : 640
      }, {
        "height" : 200,
        "url" : "https://i.scdn.co/image/9c37f8c40ab3594de42f1861f592f558f91d0f51",
        "width" : 200
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/efba595d34603b014b125d65f7851103185158b4",
        "width" : 64
      } ],
      "name" : "Lil Bibby",
      "popularity" : 54,
      "type" : "artist",
      "uri" : "spotify:artist:4uSN8Y3kgFNVULUWsZEAVW"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5QdEbQJ3ylBnc3gsIASAT5"
      },
      "followers" : {
        "href" : null,
        "total" : 52553
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/5QdEbQJ3ylBnc3gsIASAT5",
      "id" : "5QdEbQJ3ylBnc3gsIASAT5",
      "images" : [ {
        "height" : 1000,
        "url" : "https://i.scdn.co/image/c1aee89bdd376783d50dabf8f271a1a1183c8802",
        "width" : 1000
      }, {
        "height" : 640,
        "url" : "https://i.scdn.co/image/bc3c8a6d1cc9d67ba360c4225e5f3c2c6eba05ae",
        "width" : 640
      }, {
        "height" : 200,
        "url" : "https://i.scdn.co/image/37fcc09778ba8159adaa1bb74556ed31a3662b7f",
        "width" : 200
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/15cc3698c7249206797a0b77d94b96e21390310e",
        "width" : 64
      } ],
      "name" : "G Herbo",
      "popularity" : 53,
      "type" : "artist",
      "uri" : "spotify:artist:5QdEbQJ3ylBnc3gsIASAT5"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/7B7TGqQe7QTVm2U6q8jzk1"
      },
      "followers" : {
        "href" : null,
        "total" : 36195
      },
      "genres" : [ "chicano rap", "latin hip hop" ],
      "href" : "https://api.spotify.com/v1/artists/7B7TGqQe7QTVm2U6q8jzk1",
      "id" : "7B7TGqQe7QTVm2U6q8jzk1",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/7b37dc3ed21b4236502d24a897ac02aa4eb9f183",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/457e18474f5cf18eae93e1435dcc5d2fb88c8efd",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/8e7c25760b9b5d6dbc58ebc30443114fdfdfb927",
        "width" : 64
      } ],
      "name" : "Lil Rob",
      "popularity" : 50,
      "type" : "artist",
      "uri" : "spotify:artist:7B7TGqQe7QTVm2U6q8jzk1"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/1bPxKZtCdjB1aj1csBJpdS"
      },
      "followers" : {
        "href" : null,
        "total" : 24026
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/1bPxKZtCdjB1aj1csBJpdS",
      "id" : "1bPxKZtCdjB1aj1csBJpdS",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/c3f33bf2d8bc3e00d0d82fd9e2a11c0594079833",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/6535600354e3ff225b5704ab3c9b4a4033746fb1",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/ba89cf9b97304f9f07132e8bb06293170109b64b",
        "width" : 64
      } ],
      "name" : "Lil Reese",
      "popularity" : 50,
      "type" : "artist",
      "uri" : "spotify:artist:1bPxKZtCdjB1aj1csBJpdS"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/7352aRY2mqSxBZwzUb6LmA"
      },
      "followers" : {
        "href" : null,
        "total" : 119131
      },
      "genres" : [ "hip pop", "pop rap" ],
      "href" : "https://api.spotify.com/v1/artists/7352aRY2mqSxBZwzUb6LmA",
      "id" : "7352aRY2mqSxBZwzUb6LmA",
      "images" : [ {
        "height" : 1500,
        "url" : "https://i.scdn.co/image/bbc23f477201e3784b54516ef2ad548794947277",
        "width" : 1000
      }, {
        "height" : 960,
        "url" : "https://i.scdn.co/image/4014b68d6e33d16883c70aab0972087d38e8896d",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/5d3a1e94fb0fe5cf2dfb600cd7e55e8213025968",
        "width" : 200
      }, {
        "height" : 96,
        "url" : "https://i.scdn.co/image/6799537642674ef52cf0064aaef74cf04202c301",
        "width" : 64
      } ],
      "name" : "Bow Wow",
      "popularity" : 57,
      "type" : "artist",
      "uri" : "spotify:artist:7352aRY2mqSxBZwzUb6LmA"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/1grI9x4Uzos1Asx8JmRW6T"
      },
      "followers" : {
        "href" : null,
        "total" : 18934
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/1grI9x4Uzos1Asx8JmRW6T",
      "id" : "1grI9x4Uzos1Asx8JmRW6T",
      "images" : [ {
        "height" : 1024,
        "url" : "https://i.scdn.co/image/3e53d37d29794eccb5fc9744b962df8f2c2b1725",
        "width" : 680
      }, {
        "height" : 964,
        "url" : "https://i.scdn.co/image/82bb674230d0b08e5c82e10dfe175759581e7800",
        "width" : 640
      }, {
        "height" : 301,
        "url" : "https://i.scdn.co/image/6f26c9f3aee5c6243f2abe210ab09446df90276b",
        "width" : 200
      }, {
        "height" : 96,
        "url" : "https://i.scdn.co/image/35fd540d7448475f46e06bc0b46f2ca106899910",
        "width" : 64
      } ],
      "name" : "Lil Keke",
      "popularity" : 48,
      "type" : "artist",
      "uri" : "spotify:artist:1grI9x4Uzos1Asx8JmRW6T"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5einkgXXrjhfYCyac1FANB"
      },
      "followers" : {
        "href" : null,
        "total" : 27272
      },
      "genres" : [ "crunk", "dirty south rap", "southern hip hop", "trap music" ],
      "href" : "https://api.spotify.com/v1/artists/5einkgXXrjhfYCyac1FANB",
      "id" : "5einkgXXrjhfYCyac1FANB",
      "images" : [ {
        "height" : 300,
        "url" : "https://i.scdn.co/image/722a084be153a03ca1bfb0c1e7c83bd4d37db156",
        "width" : 225
      }, {
        "height" : 267,
        "url" : "https://i.scdn.co/image/9c68dc0bb9b147bd31cb13a7b1e1d95acf481a90",
        "width" : 200
      }, {
        "height" : 85,
        "url" : "https://i.scdn.co/image/96df8040ad3c03f9471139786c4ea60f3998ca81",
        "width" : 64
      } ],
      "name" : "Lil Scrappy",
      "popularity" : 50,
      "type" : "artist",
      "uri" : "spotify:artist:5einkgXXrjhfYCyac1FANB"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/21O7WwRkik43ErKppxDKJq"
      },
      "followers" : {
        "href" : null,
        "total" : 31341
      },
      "genres" : [ "juggalo" ],
      "href" : "https://api.spotify.com/v1/artists/21O7WwRkik43ErKppxDKJq",
      "id" : "21O7WwRkik43ErKppxDKJq",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/01140761147a97db6a100c4456b531fb2d5aad82",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/0925d6476f14719b5ffd005fe0091e292c95e11e",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/b232b4badce8651c11907c06ed6defcfc5616854",
        "width" : 64
      } ],
      "name" : "Lil Wyte",
      "popularity" : 50,
      "type" : "artist",
      "uri" : "spotify:artist:21O7WwRkik43ErKppxDKJq"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/74nSA5FdDOuuLw7Rn5JnuP"
      },
      "followers" : {
        "href" : null,
        "total" : 5592
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/74nSA5FdDOuuLw7Rn5JnuP",
      "id" : "74nSA5FdDOuuLw7Rn5JnuP",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/fc222056c3c65e02c96c3e94847a74ba7920757e",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/052a2ef46226fa25801224fd676ba4abbb7da15a",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/b3a4a57f6da39a5af2b2c56479819754caa51d35",
        "width" : 64
      } ],
      "name" : "Lil Blood",
      "popularity" : 46,
      "type" : "artist",
      "uri" : "spotify:artist:74nSA5FdDOuuLw7Rn5JnuP"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/42FaEHFfyxTdZQ5W28dXnj"
      },
      "followers" : {
        "href" : null,
        "total" : 34360
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/42FaEHFfyxTdZQ5W28dXnj",
      "id" : "42FaEHFfyxTdZQ5W28dXnj",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/89c1a0ac4f8b95c843d633493bc3657a296e3e6b",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/59654d32b34cfb51000ff26fec57ab36bf1781ae",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/b3afd3776d6e3e6ed82d45b4541e8623389e347b",
        "width" : 64
      } ],
      "name" : "Lil Snupe",
      "popularity" : 45,
      "type" : "artist",
      "uri" : "spotify:artist:42FaEHFfyxTdZQ5W28dXnj"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5qK5bOC6wLtuLhG5KvU17c"
      },
      "followers" : {
        "href" : null,
        "total" : 21242
      },
      "genres" : [ "hip pop" ],
      "href" : "https://api.spotify.com/v1/artists/5qK5bOC6wLtuLhG5KvU17c",
      "id" : "5qK5bOC6wLtuLhG5KvU17c",
      "images" : [ {
        "height" : 750,
        "url" : "https://i.scdn.co/image/8e33c09ff1d5d91ea47254a389c36f626775275a",
        "width" : 600
      }, {
        "height" : 250,
        "url" : "https://i.scdn.co/image/991889a4147550d0421dfb80621c2e161ac7e043",
        "width" : 200
      }, {
        "height" : 80,
        "url" : "https://i.scdn.co/image/253d651a020406eb7c264304803463badabfe8cb",
        "width" : 64
      } ],
      "name" : "Lil Mama",
      "popularity" : 45,
      "type" : "artist",
      "uri" : "spotify:artist:5qK5bOC6wLtuLhG5KvU17c"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/1mmlWsyPJvvxMdabcGJjRn"
      },
      "followers" : {
        "href" : null,
        "total" : 304
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/1mmlWsyPJvvxMdabcGJjRn",
      "id" : "1mmlWsyPJvvxMdabcGJjRn",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/60159d868f6ceb3433cc4d9c6ad9d551c142a1ec",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/d84f042b1e6785cac700ead5797b250d0e00744d",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/98efe8330240c282b4a87fd98bf90f8c93f869cc",
        "width" : 64
      } ],
      "name" : "Lil Boom",
      "popularity" : 46,
      "type" : "artist",
      "uri" : "spotify:artist:1mmlWsyPJvvxMdabcGJjRn"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/4dqh62yIzDBmrMeBOLiP5F"
      },
      "followers" : {
        "href" : null,
        "total" : 259
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/4dqh62yIzDBmrMeBOLiP5F",
      "id" : "4dqh62yIzDBmrMeBOLiP5F",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/5fbeb835c159b8de635ef8f5c6cc002ce138aec2",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/3002b77643ae099b657a5eca5f99a79ca064b2f7",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/73507e320c68d9890524a15f2eca9390a9fec455",
        "width" : 64
      } ],
      "name" : "Lil B",
      "popularity" : 44,
      "type" : "artist",
      "uri" : "spotify:artist:4dqh62yIzDBmrMeBOLiP5F"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5tth2a3v0sWwV1C7bApBdX"
      },
      "followers" : {
        "href" : null,
        "total" : 70800
      },
      "genres" : [ "hip pop" ],
      "href" : "https://api.spotify.com/v1/artists/5tth2a3v0sWwV1C7bApBdX",
      "id" : "5tth2a3v0sWwV1C7bApBdX",
      "images" : [ {
        "height" : 667,
        "url" : "https://i.scdn.co/image/86a3e71ffa1706d337405150ec3bb7b4e246db7b",
        "width" : 1000
      }, {
        "height" : 427,
        "url" : "https://i.scdn.co/image/aa469a2c66d8e71308dbfb3efdb116be37ccdcaa",
        "width" : 640
      }, {
        "height" : 133,
        "url" : "https://i.scdn.co/image/a0e5359dc08b113b293b9d46715dea3ade289ba0",
        "width" : 200
      }, {
        "height" : 43,
        "url" : "https://i.scdn.co/image/74c219f600ec1d671430515820392104a64be811",
        "width" : 64
      } ],
      "name" : "Lil' Kim",
      "popularity" : 62,
      "type" : "artist",
      "uri" : "spotify:artist:5tth2a3v0sWwV1C7bApBdX"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/1I5u5Umau1AgHl0ZbPL1oR"
      },
      "followers" : {
        "href" : null,
        "total" : 15683
      },
      "genres" : [ "chicano rap" ],
      "href" : "https://api.spotify.com/v1/artists/1I5u5Umau1AgHl0ZbPL1oR",
      "id" : "1I5u5Umau1AgHl0ZbPL1oR",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/9a690f19d1f22f37c2d8ea2269d5d13c227059c7",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/8a8413a32bf7407d8e3c7705fb24db7b817d7804",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/06ce7932e56c32475af8927bfffcce0d76475be8",
        "width" : 64
      } ],
      "name" : "Lil Cuete",
      "popularity" : 40,
      "type" : "artist",
      "uri" : "spotify:artist:1I5u5Umau1AgHl0ZbPL1oR"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/3QnIBUOS4mUzs67rZ8r4c9"
      },
      "followers" : {
        "href" : null,
        "total" : 5382
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/3QnIBUOS4mUzs67rZ8r4c9",
      "id" : "3QnIBUOS4mUzs67rZ8r4c9",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/e67d6752b4bc97f8e62e3bad2020d1a771543329",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/252344a7a2903b910fe462fb1d03e4050182d7ad",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/4481d09538ecb2554f01dec59f05dd050d1b03b9",
        "width" : 64
      } ],
      "name" : "Lil Phat",
      "popularity" : 40,
      "type" : "artist",
      "uri" : "spotify:artist:3QnIBUOS4mUzs67rZ8r4c9"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/3FNZcjyqT7F5upP99JV0oN"
      },
      "followers" : {
        "href" : null,
        "total" : 14636
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/3FNZcjyqT7F5upP99JV0oN",
      "id" : "3FNZcjyqT7F5upP99JV0oN",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/f7a2070d4432472565f88e4d8e25f61de58bfde9",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/97e0127d38fd5f0b2e9c5fd593a42148f26ee8c7",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/c8c722d37914c9bd4f1b1af5b1c0e152e3e74c19",
        "width" : 64
      } ],
      "name" : "Lil Debbie",
      "popularity" : 43,
      "type" : "artist",
      "uri" : "spotify:artist:3FNZcjyqT7F5upP99JV0oN"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/564gvOqSRcQoYAhaBpTiK2"
      },
      "followers" : {
        "href" : null,
        "total" : 14855
      },
      "genres" : [ "jerk" ],
      "href" : "https://api.spotify.com/v1/artists/564gvOqSRcQoYAhaBpTiK2",
      "id" : "564gvOqSRcQoYAhaBpTiK2",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/5280b8361231a8275ef9aeaa4e4d9a7701790eb5",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/112c7e13cf136d3389ac4e2568af3cb1a02285b7",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/0c0031c220e6536650161d837192c64168690d86",
        "width" : 64
      } ],
      "name" : "Lil Twist",
      "popularity" : 40,
      "type" : "artist",
      "uri" : "spotify:artist:564gvOqSRcQoYAhaBpTiK2"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5EQERGi7ffHvHsv3bnqzBn"
      },
      "followers" : {
        "href" : null,
        "total" : 2143
      },
      "genres" : [ "deep trap" ],
      "href" : "https://api.spotify.com/v1/artists/5EQERGi7ffHvHsv3bnqzBn",
      "id" : "5EQERGi7ffHvHsv3bnqzBn",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/b05aaee4b347f25bd1f190a47d2a04a30db96ee4",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/7cc46db0ae9aca73de9ce788ffee37711af092db",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/e39030f343a1365761a1778a873a369573fb5e11",
        "width" : 64
      } ],
      "name" : "Lil Trill",
      "popularity" : 37,
      "type" : "artist",
      "uri" : "spotify:artist:5EQERGi7ffHvHsv3bnqzBn"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/3rWaFjgOi5mjQfllMfN3VI"
      },
      "followers" : {
        "href" : null,
        "total" : 1358
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/3rWaFjgOi5mjQfllMfN3VI",
      "id" : "3rWaFjgOi5mjQfllMfN3VI",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/27cd70424eb57712af1a3f02d8c065fb8248c6f7",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/5df4c3e9982888cfc853591361bde30b26e4b182",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/cf681ac1c01f676cb8848fc3c1c1e91af4981940",
        "width" : 64
      } ],
      "name" : "Lil Goofy",
      "popularity" : 36,
      "type" : "artist",
      "uri" : "spotify:artist:3rWaFjgOi5mjQfllMfN3VI"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/6zSBkdKFLKKggDtE3amfCk"
      },
      "followers" : {
        "href" : null,
        "total" : 1432
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/6zSBkdKFLKKggDtE3amfCk",
      "id" : "6zSBkdKFLKKggDtE3amfCk",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/808576eb1021286e337063e525f4ec79464be1ae",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/9e64654e7a0efcc0e83f92c183161b8563afdc9d",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/14c77d2a012121fdfb65a34f9ead19824627c787",
        "width" : 64
      } ],
      "name" : "Lil Lonnie",
      "popularity" : 37,
      "type" : "artist",
      "uri" : "spotify:artist:6zSBkdKFLKKggDtE3amfCk"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/2jXwYLNnCxNavms4mc1DYM"
      },
      "followers" : {
        "href" : null,
        "total" : 915
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/2jXwYLNnCxNavms4mc1DYM",
      "id" : "2jXwYLNnCxNavms4mc1DYM",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/c836e08658864e66d993dd082d22d6dfee7d4645",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/255d752315107f40dc7ff7d9deff7955f6ca569e",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/93902d4634605f54f6d16df88d4bd7bbf2b5ae4a",
        "width" : 64
      } ],
      "name" : "Lil AJ",
      "popularity" : 37,
      "type" : "artist",
      "uri" : "spotify:artist:2jXwYLNnCxNavms4mc1DYM"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/4E9dumwOMLlTyXUp1i2WdI"
      },
      "followers" : {
        "href" : null,
        "total" : 753
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/4E9dumwOMLlTyXUp1i2WdI",
      "id" : "4E9dumwOMLlTyXUp1i2WdI",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/0248b931d044d7cd9e04e985dd60e262d47bd48e",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/2e0750e4f4f1b6faef4694e8cdc7be2ea7943025",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/71627015b26cd42d2d4912b0b728d26d5aa021bc",
        "width" : 64
      } ],
      "name" : "Lil Haiti",
      "popularity" : 37,
      "type" : "artist",
      "uri" : "spotify:artist:4E9dumwOMLlTyXUp1i2WdI"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/43BqexhEx5NKF7VfeOYP9m"
      },
      "followers" : {
        "href" : null,
        "total" : 1024
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/43BqexhEx5NKF7VfeOYP9m",
      "id" : "43BqexhEx5NKF7VfeOYP9m",
      "images" : [ {
        "height" : 500,
        "url" : "https://i.scdn.co/image/19b3c85c69a68790f2edef06bd2da9e51ee88a44",
        "width" : 500
      }, {
        "height" : 200,
        "url" : "https://i.scdn.co/image/ced2056dc33e8b3c318560ecdc393c5e79939927",
        "width" : 200
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/08f5c3a7abf35edf216ce353f611b37d1251e2ca",
        "width" : 64
      } ],
      "name" : "Lil Cray",
      "popularity" : 36,
      "type" : "artist",
      "uri" : "spotify:artist:43BqexhEx5NKF7VfeOYP9m"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5YZZbPdI7P7te3lW3dTpzK"
      },
      "followers" : {
        "href" : null,
        "total" : 335
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/5YZZbPdI7P7te3lW3dTpzK",
      "id" : "5YZZbPdI7P7te3lW3dTpzK",
      "images" : [ {
        "height" : 960,
        "url" : "https://i.scdn.co/image/171bcf1727e696bb7abe4af8c339654a03335c75",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/4fc43fb0bb59f30f92a4a61267b2d68a16441041",
        "width" : 200
      }, {
        "height" : 96,
        "url" : "https://i.scdn.co/image/13157eee5b9392e4c9eddced209e32eac2540000",
        "width" : 64
      } ],
      "name" : "Lil Twon",
      "popularity" : 36,
      "type" : "artist",
      "uri" : "spotify:artist:5YZZbPdI7P7te3lW3dTpzK"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/6tslWi0BXiDdtChermDzkU"
      },
      "followers" : {
        "href" : null,
        "total" : 4773
      },
      "genres" : [ "chicano rap" ],
      "href" : "https://api.spotify.com/v1/artists/6tslWi0BXiDdtChermDzkU",
      "id" : "6tslWi0BXiDdtChermDzkU",
      "images" : [ {
        "height" : 445,
        "url" : "https://i.scdn.co/image/f3e380e2bb1706ccc3ff3136a5909b2df62fc8e6",
        "width" : 999
      }, {
        "height" : 285,
        "url" : "https://i.scdn.co/image/b422c3b95293beb367cf38901631d5537c6431b1",
        "width" : 640
      }, {
        "height" : 89,
        "url" : "https://i.scdn.co/image/c827b7877bde6b4295d708b75ec78bb493ad7245",
        "width" : 200
      }, {
        "height" : 29,
        "url" : "https://i.scdn.co/image/f9ee61c0fc0e027f2a87cb2a610637ebce8e8e4c",
        "width" : 64
      } ],
      "name" : "Mr. Lil One",
      "popularity" : 36,
      "type" : "artist",
      "uri" : "spotify:artist:6tslWi0BXiDdtChermDzkU"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/2Kv0ApBohrL213X9avMrEn"
      },
      "followers" : {
        "href" : null,
        "total" : 9568
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/2Kv0ApBohrL213X9avMrEn",
      "id" : "2Kv0ApBohrL213X9avMrEn",
      "images" : [ {
        "height" : 1500,
        "url" : "https://i.scdn.co/image/9b1581aa35fa3461ad886fe8999f3757d3292fb7",
        "width" : 1000
      }, {
        "height" : 960,
        "url" : "https://i.scdn.co/image/7105c05c8533bf8689937a1d37613db9576b73d8",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/79b367700f460ea27a3f0ad56ac2596d3f220ae1",
        "width" : 200
      }, {
        "height" : 96,
        "url" : "https://i.scdn.co/image/9bf3f51c3475fcfa7e2cac1780c97dff19cb47c4",
        "width" : 64
      } ],
      "name" : "Lil Silva",
      "popularity" : 43,
      "type" : "artist",
      "uri" : "spotify:artist:2Kv0ApBohrL213X9avMrEn"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/069qBEK34YGoX7nSIT74Eg"
      },
      "followers" : {
        "href" : null,
        "total" : 1790
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/069qBEK34YGoX7nSIT74Eg",
      "id" : "069qBEK34YGoX7nSIT74Eg",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/00f49af07547e77af2b67f621c8fd77be607f166",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/760852e9190609b0bf7bab4c5ba3fd14654956a3",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/390f2cc02272310ae41fb67ef92b7bf226262be6",
        "width" : 64
      } ],
      "name" : "Lil Flash",
      "popularity" : 38,
      "type" : "artist",
      "uri" : "spotify:artist:069qBEK34YGoX7nSIT74Eg"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/4vIlHBnzWKbmWe8ZOkT1ZT"
      },
      "followers" : {
        "href" : null,
        "total" : 1179
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/4vIlHBnzWKbmWe8ZOkT1ZT",
      "id" : "4vIlHBnzWKbmWe8ZOkT1ZT",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/0f0c996d27335179f4136620e95d9c3245147806",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/923c54f357bb8fbba8623cadb9f4194e90de760c",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/85d4cf1f11ec3ba3481a9414fbb5dc5801abe086",
        "width" : 64
      } ],
      "name" : "Lil Yase",
      "popularity" : 34,
      "type" : "artist",
      "uri" : "spotify:artist:4vIlHBnzWKbmWe8ZOkT1ZT"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/1cEHxCgGlEgqBc91YOcAEQ"
      },
      "followers" : {
        "href" : null,
        "total" : 16401
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/1cEHxCgGlEgqBc91YOcAEQ",
      "id" : "1cEHxCgGlEgqBc91YOcAEQ",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/a7969adf46dff0c450120388bef4e760e2443a66",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/9f155a53e2c7be92a0846befc94162e84a5e02b9",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/7b434e7ce5acc91a1f1df22a4af376281e98dbbe",
        "width" : 64
      } ],
      "name" : "Lil Mouse",
      "popularity" : 35,
      "type" : "artist",
      "uri" : "spotify:artist:1cEHxCgGlEgqBc91YOcAEQ"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5HPsVk1MblCoa44WLJsQwN"
      },
      "followers" : {
        "href" : null,
        "total" : 5949
      },
      "genres" : [ "freestyle" ],
      "href" : "https://api.spotify.com/v1/artists/5HPsVk1MblCoa44WLJsQwN",
      "id" : "5HPsVk1MblCoa44WLJsQwN",
      "images" : [ {
        "height" : 482,
        "url" : "https://i.scdn.co/image/9e2c6bb7420bdfe0675255200e6a90fbe6744514",
        "width" : 720
      }, {
        "height" : 428,
        "url" : "https://i.scdn.co/image/861aeb62673db5c88a4938462051496d54a88e14",
        "width" : 639
      }, {
        "height" : 134,
        "url" : "https://i.scdn.co/image/3bcf3420690356d33c72e6d699a6e087a2f287d4",
        "width" : 200
      }, {
        "height" : 43,
        "url" : "https://i.scdn.co/image/b807785791281b511ee7e545825f5508648914b0",
        "width" : 64
      } ],
      "name" : "Lil Suzy",
      "popularity" : 34,
      "type" : "artist",
      "uri" : "spotify:artist:5HPsVk1MblCoa44WLJsQwN"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/5CY0QKsbUBpQJIE2yycsYi"
      },
      "followers" : {
        "href" : null,
        "total" : 1642
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/5CY0QKsbUBpQJIE2yycsYi",
      "id" : "5CY0QKsbUBpQJIE2yycsYi",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/a1ab38ca89a4640ba1306c5f2ade50750194e5d9",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/5ba8136190e12f51a128855f107afcfd446e63bd",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/b2c57e0ba16bb50a92e84a1776bc6a324d858c2c",
        "width" : 64
      } ],
      "name" : "Lil Eddie",
      "popularity" : 41,
      "type" : "artist",
      "uri" : "spotify:artist:5CY0QKsbUBpQJIE2yycsYi"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/4IFVaKBbEO8Qkurg6nmoc4"
      },
      "followers" : {
        "href" : null,
        "total" : 3307
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/4IFVaKBbEO8Qkurg6nmoc4",
      "id" : "4IFVaKBbEO8Qkurg6nmoc4",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/a71e6d63cee27fbf8d35783319f27517544729a6",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/6872135b1c7727339bc927f76b6502e7b0626bb4",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/b9704a6bad87cf9e221824ac02f09dc8569c5fc6",
        "width" : 64
      } ],
      "name" : "Lil Rue",
      "popularity" : 34,
      "type" : "artist",
      "uri" : "spotify:artist:4IFVaKBbEO8Qkurg6nmoc4"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/38XiDu0kK3Z5jdHUDqBzNT"
      },
      "followers" : {
        "href" : null,
        "total" : 1698
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/38XiDu0kK3Z5jdHUDqBzNT",
      "id" : "38XiDu0kK3Z5jdHUDqBzNT",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/63f06a92ecd7974e1360c1fbf318285b52208594",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/2cc112871d0755a7b08c8640d77c027dbe2fefff",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/37245d0c87fc06fd2ed5aab80207c2a70b688e9d",
        "width" : 64
      } ],
      "name" : "Lil Kesh",
      "popularity" : 39,
      "type" : "artist",
      "uri" : "spotify:artist:38XiDu0kK3Z5jdHUDqBzNT"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/65npPa1U4cgobX9wU7Jgpb"
      },
      "followers" : {
        "href" : null,
        "total" : 12921
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/65npPa1U4cgobX9wU7Jgpb",
      "id" : "65npPa1U4cgobX9wU7Jgpb",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/97bfe3f9251d35d9a358d8e937d3a6365c7a674a",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/201eee225cd733022b0e78f6fbfe04861d898a84",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/80f03593b486eb3b70f9c035097d669e7704c328",
        "width" : 64
      } ],
      "name" : "Lil Wayne, DJ Drama",
      "popularity" : 35,
      "type" : "artist",
      "uri" : "spotify:artist:65npPa1U4cgobX9wU7Jgpb"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/69swdLSkKxCQBMYJ55O2mA"
      },
      "followers" : {
        "href" : null,
        "total" : 1714
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/69swdLSkKxCQBMYJ55O2mA",
      "id" : "69swdLSkKxCQBMYJ55O2mA",
      "images" : [ {
        "height" : 300,
        "url" : "https://i.scdn.co/image/0b0c4aa534c6203577fd01f13a00807e4635851c",
        "width" : 200
      }, {
        "height" : 96,
        "url" : "https://i.scdn.co/image/ddef4f63a39e9007bef9adab285e7c51ce345848",
        "width" : 64
      } ],
      "name" : "Lil C",
      "popularity" : 33,
      "type" : "artist",
      "uri" : "spotify:artist:69swdLSkKxCQBMYJ55O2mA"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/1qKzKUnuQsjB83hBZffoq0"
      },
      "followers" : {
        "href" : null,
        "total" : 1841
      },
      "genres" : [ "soca" ],
      "href" : "https://api.spotify.com/v1/artists/1qKzKUnuQsjB83hBZffoq0",
      "id" : "1qKzKUnuQsjB83hBZffoq0",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/4008de208a4462c926c09d5d341638abaa734d9d",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/bd35dfb47d9719d7c94d185b55364a63d9a6e37d",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/5d11e2608b6c526ae1bc76a09b0357ac3d802bfe",
        "width" : 64
      } ],
      "name" : "Lil Rick",
      "popularity" : 39,
      "type" : "artist",
      "uri" : "spotify:artist:1qKzKUnuQsjB83hBZffoq0"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/0zn6yzsbWj3EPMgOTqfG5k"
      },
      "followers" : {
        "href" : null,
        "total" : 143
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/0zn6yzsbWj3EPMgOTqfG5k",
      "id" : "0zn6yzsbWj3EPMgOTqfG5k",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/7f1e95502340fcce80809621ec243f1d16e9dc5a",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/3a5b2e7b412e6fbe4057aa0f7681b92be4b7242f",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/de3ef5c9061d87fc8908cebd18d0ae8f5243bc4b",
        "width" : 64
      } ],
      "name" : "Lil E",
      "popularity" : 34,
      "type" : "artist",
      "uri" : "spotify:artist:0zn6yzsbWj3EPMgOTqfG5k"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/3GH3KD2078kLPpEkN1UN26"
      },
      "followers" : {
        "href" : null,
        "total" : 1440
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/3GH3KD2078kLPpEkN1UN26",
      "id" : "3GH3KD2078kLPpEkN1UN26",
      "images" : [ {
        "height" : 640,
        "url" : "https://i.scdn.co/image/076a261d997d38ebbb55041a67bd4e00d960ce7e",
        "width" : 640
      }, {
        "height" : 300,
        "url" : "https://i.scdn.co/image/fbfc9a3a04437bba987ff1c2f4f38358b809b155",
        "width" : 300
      }, {
        "height" : 64,
        "url" : "https://i.scdn.co/image/0b3c65e61d127766aa052b33bcddd796d06d0f28",
        "width" : 64
      } ],
      "name" : "Lil June",
      "popularity" : 32,
      "type" : "artist",
      "uri" : "spotify:artist:3GH3KD2078kLPpEkN1UN26"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/6JUnsP7jmvYmdhbg7lTMQj"
      },
      "followers" : {
        "href" : null,
        "total" : 113
      },
      "genres" : [ ],
      "href" : "https://api.spotify.com/v1/artists/6JUnsP7jmvYmdhbg7lTMQj",
      "id" : "6JUnsP7jmvYmdhbg7lTMQj",
      "images" : [ ],
      "name" : "Lil Fate",
      "popularity" : 34,
      "type" : "artist",
      "uri" : "spotify:artist:6JUnsP7jmvYmdhbg7lTMQj"
    }, {
      "external_urls" : {
        "spotify" : "https://open.spotify.com/artist/4Q5sPmM8j4SpMqL4UA1DtS"
      },
      "followers" : {
        "href" : null,
        "total" : 20100
      },
      "genres" : [ "crunk", "dirty south rap" ],
      "href" : "https://api.spotify.com/v1/artists/4Q5sPmM8j4SpMqL4UA1DtS",
      "id" : "4Q5sPmM8j4SpMqL4UA1DtS",
      "images" : [ {
        "height" : 810,
        "url" : "https://i.scdn.co/image/3767913038db1bbb8e971a3f93b4eb2c86b402c1",
        "width" : 1000
      }, {
        "height" : 519,
        "url" : "https://i.scdn.co/image/dcc17914d52f5194f21ed73c2272701f940be220",
        "width" : 640
      }, {
        "height" : 162,
        "url" : "https://i.scdn.co/image/a645742d2b72d97d0abeb35eb880439f11013b1d",
        "width" : 200
      }, {
        "height" : 52,
        "url" : "https://i.scdn.co/image/d2f390e207477cdd0e2229429593f7dd99f08e54",
        "width" : 64
      } ],
      "name" : "Lil' Flip",
      "popularity" : 50,
      "type" : "artist",
      "uri" : "spotify:artist:4Q5sPmM8j4SpMqL4UA1DtS"
    } ],
    "limit" : 50,
    "next" : "https://api.spotify.com/v1/search?query=lil&offset=50&limit=50&type=artist&market=US",
    "offset" : 0,
    "previous" : null,
    "total" : 4523
  }
}

In [13]:
lil_artists = data['artists']['items']

In [14]:
#Aggregation Problem
all_genres = [ ]
for artist in lil_artists:
    all_genres = all_genres + artist['genres']
#unique list is called a set
unique_genres = set(all_genres)

for genre in unique_genres:
    genre_count = all_genres.count(genre)
    print(genre, "shows up", genre_count, "times")


dirty south rap shows up 4 times
crunk shows up 3 times
pop rap shows up 2 times
juggalo shows up 1 times
deep trap shows up 1 times
southern hip hop shows up 3 times
chicano rap shows up 3 times
latin hip hop shows up 1 times
hip pop shows up 3 times
jerk shows up 1 times
freestyle shows up 1 times
soca shows up 1 times
trap music shows up 2 times

In [15]:
#collections
import collections

counts = collections.Counter(all_genres)
counts.most_common(4)


Out[15]:
[('dirty south rap', 4),
 ('crunk', 3),
 ('southern hip hop', 3),
 ('chicano rap', 3)]

In [16]:
for artist in lil_artists:
    print(artist['name'], artist['popularity'])
    genres = ", ".join(artist['genres'])
    if len(artist['genres']) == 0:
        print("No genres listed")
    else:
        print("Genre list:", genres)


Lil Wayne 86
Genre list: dirty south rap, pop rap, southern hip hop, trap music
Lil Yachty 73
No genres listed
Lil Uzi Vert 74
No genres listed
Lil Dicky 69
No genres listed
Boosie Badazz 67
No genres listed
Lil Jon 72
Genre list: crunk, dirty south rap, southern hip hop
King Lil G 61
No genres listed
Lil Durk 60
No genres listed
Lil Jon & The East Side Boyz 60
No genres listed
Lil Bibby 54
No genres listed
G Herbo 53
No genres listed
Lil Rob 50
Genre list: chicano rap, latin hip hop
Lil Reese 50
No genres listed
Bow Wow 57
Genre list: hip pop, pop rap
Lil Keke 48
No genres listed
Lil Scrappy 50
Genre list: crunk, dirty south rap, southern hip hop, trap music
Lil Wyte 50
Genre list: juggalo
Lil Blood 46
No genres listed
Lil Snupe 45
No genres listed
Lil Mama 45
Genre list: hip pop
Lil Boom 46
No genres listed
Lil B 44
No genres listed
Lil' Kim 62
Genre list: hip pop
Lil Cuete 40
Genre list: chicano rap
Lil Phat 40
No genres listed
Lil Debbie 43
No genres listed
Lil Twist 40
Genre list: jerk
Lil Trill 37
Genre list: deep trap
Lil Goofy 36
No genres listed
Lil Lonnie 37
No genres listed
Lil AJ 37
No genres listed
Lil Haiti 37
No genres listed
Lil Cray 36
No genres listed
Lil Twon 36
No genres listed
Mr. Lil One 36
Genre list: chicano rap
Lil Silva 43
No genres listed
Lil Flash 38
No genres listed
Lil Yase 34
No genres listed
Lil Mouse 35
No genres listed
Lil Suzy 34
Genre list: freestyle
Lil Eddie 41
No genres listed
Lil Rue 34
No genres listed
Lil Kesh 39
No genres listed
Lil Wayne, DJ Drama 35
No genres listed
Lil C 33
No genres listed
Lil Rick 39
Genre list: soca
Lil E 34
No genres listed
Lil June 32
No genres listed
Lil Fate 34
No genres listed
Lil' Flip 50
Genre list: crunk, dirty south rap

In [17]:
most_popular_name = " "
most_popular_score = 0

for artist in lil_artists:
    if artist['popularity'] > most_popular_score and artist['name'] != 'Lil Wayne':
        most_popular_name = artist['name']
        most_popular_score = artist['popularity']

print(most_popular_name, most_popular_score)


Lil Uzi Vert 74

In [18]:
target_score = 72
#initial condition
#we have no one who is in our list yet
second_best-artists = [ ]

#Aggregation problem: 
#when you're looping through a series of serious objects 
#and sometimes you want to add one of those objects to a DIFFERENT list

for artist in artists:
    print(artist['name'], "has a popularity of", artist['popularity'])
    #CONDITIONAL
    #when we want to add someone to our list
    if artist ['popularity'] == 72:
        print("The artist's popularity is 72")
        #THE CHANGE
        #add that artist to our list
        #.append(newthing) is how we do that in python
        second_best_artists.append(artist['name'])
        
print("OUR SECOND-BEST ARTISTS ARE:")
for artist in


  File "<ipython-input-18-8bd8a09b0aae>", line 22
    for artist in
                  ^
SyntaxError: invalid syntax

In [19]:
for artist in lil_artists:
    if artist['name'] == "Lil' Kim":
        print(artist['popularity'])
    else:
        pass


62

In [20]:
lil_kim_pop = 62
more_pop_than_lil_kim = []
for artist in lil_artists:
    if artist['popularity'] > lil_kim_pop:
        print(artist['name'], "has a score of", artist['popularity'])
        more_pop_than_lil_kim.append(artist['name'])
    else:
        pass


Lil Wayne has a score of 86
Lil Yachty has a score of 73
Lil Uzi Vert has a score of 74
Lil Dicky has a score of 69
Boosie Badazz has a score of 67
Lil Jon has a score of 72

In [21]:
for artist_name in more_pop_than_lil_kim:
    print(artist_name)


Lil Wayne
Lil Yachty
Lil Uzi Vert
Lil Dicky
Boosie Badazz
Lil Jon

In [22]:
lilb_tracks = requests.get('https://api.spotify.com/v1/artists/4dqh62yIzDBmrMeBOLiP5F/top-tracks?country=US')
bowwow_tracks = requests.get('https://api.spotify.com/v1/artists/5einkgXXrjhfYCyac1FANB/top-tracks?country=US')

lilbdata = lilb_tracks.json()
bowwowdata = bowwow_tracks.json()
print(type(lilbdata))


<class 'dict'>

In [23]:
print(lilbdata['tracks'][0])


{'track_number': 1, 'album': {'href': 'https://api.spotify.com/v1/albums/2wPUNzXPyDLydH4excoPEV', 'type': 'album', 'external_urls': {'spotify': 'https://open.spotify.com/album/2wPUNzXPyDLydH4excoPEV'}, 'id': '2wPUNzXPyDLydH4excoPEV', 'images': [{'height': 640, 'width': 640, 'url': 'https://i.scdn.co/image/5fbeb835c159b8de635ef8f5c6cc002ce138aec2'}, {'height': 300, 'width': 300, 'url': 'https://i.scdn.co/image/3002b77643ae099b657a5eca5f99a79ca064b2f7'}, {'height': 64, 'width': 64, 'url': 'https://i.scdn.co/image/73507e320c68d9890524a15f2eca9390a9fec455'}], 'uri': 'spotify:album:2wPUNzXPyDLydH4excoPEV', 'album_type': 'single', 'available_markets': ['AR', 'AU', 'AT', 'BE', 'BO', 'BR', 'BG', 'CA', 'CL', 'CO', 'CR', 'CY', 'CZ', 'DK', 'DO', 'DE', 'EC', 'EE', 'SV', 'FI', 'FR', 'GR', 'GT', 'HN', 'HK', 'HU', 'IS', 'IE', 'IT', 'LV', 'LT', 'LU', 'MY', 'MT', 'MX', 'NL', 'NZ', 'NI', 'NO', 'PA', 'PY', 'PE', 'PH', 'PL', 'PT', 'SG', 'SK', 'ES', 'SE', 'CH', 'TW', 'TR', 'UY', 'US', 'GB', 'AD', 'LI', 'MC', 'ID'], 'name': 'Barbiie Girl'}, 'external_urls': {'spotify': 'https://open.spotify.com/track/41RG5qbh4HX334FUuK8Fu7'}, 'id': '41RG5qbh4HX334FUuK8Fu7', 'popularity': 22, 'uri': 'spotify:track:41RG5qbh4HX334FUuK8Fu7', 'explicit': True, 'name': 'Barbiie Girl Dirty', 'preview_url': 'https://p.scdn.co/mp3-preview/8a4e79e3919a86cd690c34790e9cc4dee9b8e0e7', 'href': 'https://api.spotify.com/v1/tracks/41RG5qbh4HX334FUuK8Fu7', 'type': 'track', 'external_ids': {'isrc': 'uscgh1015493'}, 'duration_ms': 189520, 'artists': [{'href': 'https://api.spotify.com/v1/artists/4dqh62yIzDBmrMeBOLiP5F', 'type': 'artist', 'external_urls': {'spotify': 'https://open.spotify.com/artist/4dqh62yIzDBmrMeBOLiP5F'}, 'id': '4dqh62yIzDBmrMeBOLiP5F', 'uri': 'spotify:artist:4dqh62yIzDBmrMeBOLiP5F', 'name': 'Lil B'}], 'disc_number': 1, 'available_markets': ['AR', 'AU', 'AT', 'BE', 'BO', 'BR', 'BG', 'CA', 'CL', 'CO', 'CR', 'CY', 'CZ', 'DK', 'DO', 'DE', 'EC', 'EE', 'SV', 'FI', 'FR', 'GR', 'GT', 'HN', 'HK', 'HU', 'IS', 'IE', 'IT', 'LV', 'LT', 'LU', 'MY', 'MT', 'MX', 'NL', 'NZ', 'NI', 'NO', 'PA', 'PY', 'PE', 'PH', 'PL', 'PT', 'SG', 'SK', 'ES', 'SE', 'CH', 'TW', 'TR', 'UY', 'US', 'GB', 'AD', 'LI', 'MC', 'ID']}

In [24]:
print("Lil B Top Tracks:")
for track in lilbdata['tracks']:
    print(track['name'])

print("Bow Wow Top Tracks:")
for track in bowwowdata['tracks']:
    print(track['name'])


Lil B Top Tracks:
Barbiie Girl Dirty
Gravy
Slab B***h
Lick It Off (Remix)
Lex Superior 2014
Ridin S.L.A.B.
One More Try (feat. J Phat)
Slab Bitch
Bow Wow Top Tracks:
No Problem
What U Gon' Do (feat. Lil Scrappy)
Money In The Bank - Remix feat. Young Buck
Wait (The Whisper Song) Remix
Keep It 1000
Damn - Remix
Like a Pimp - Remix
Head Bussa - feat. Lil Jon
Livin' In The Projects
Oh Yeah - Work feat. Sean P. of YoungBloodZ and E-40

In [25]:
#is a song explicit? 
#find popularity for explicit songs
#average it
#find popularitiy for non-explicit songs
#average that
#compare

explicit_pop_lb = [ ]
clean_pop_lb = [ ]
for song in lilbdata['tracks']:
    if song['explicit'] == True:
        explicit_pop_lb.append(song['popularity'])
    else:
        clean_pop_lb.append(song['popularity'])

In [26]:
print("Average popularity of explicit Lil B tracks is", (sum(explicit_pop_lb))/(len(explicit_pop_lb)))


Average popularity of explicit Lil B tracks is 10.5

In [27]:
if len(clean_pop_lb) != 0:
    print("Average popularity of clean Lil B tracks is", (sum(clean_pop_lb))/(len(clean_pop_lb)))
else:
    print("There are no clean Lil B tracks.")


Average popularity of clean Lil B tracks is 8.5

In [28]:
explicit_pop_bw = [ ]
clean_pop_bw = [ ]
for song in bowwowdata['tracks']:
    if song['explicit'] == True:
        explicit_pop_bw.append(song['popularity'])
    else:
        clean_pop_bw.append(song['popularity'])
print("Average popularity of explicit Bow Wow tracks is", (sum(explicit_pop_bw))/(len(explicit_pop_bw)))
if len(clean_pop) != 0:
    print("Average popularity of clean Bow Wow tracks is", (sum(clean_pop_bw))/(len(clean_pop_bw)))
else:
    print("There are no clean Bow Wow tracks.")


Average popularity of explicit Bow Wow tracks is 41.285714285714285
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-28-d6c94c6da758> in <module>()
      7         clean_pop_bw.append(song['popularity'])
      8 print("Average popularity of explicit Bow Wow tracks is", (sum(explicit_pop_bw))/(len(explicit_pop_bw)))
----> 9 if len(clean_pop) != 0:
     10     print("Average popularity of clean Bow Wow tracks is", (sum(clean_pop_bw))/(len(clean_pop_bw)))
     11 else:

NameError: name 'clean_pop' is not defined

In [29]:
explicit_time_lb = [ ]
clean_time_lb = [ ]
for song in lilbdata['tracks']:
    if song['explicit'] == True:
        explicit_time_lb.append(song['duration_ms'])
    else:
        clean_time_lb.append(song['duration_ms'])
print("Lil B has", (sum(explicit_time_lb))/60000, "minutes of explicit top tracks and", (sum(clean_time_lb))/60000, "minutes of clean top tracks.")


Lil B has 19.5912 minutes of explicit top tracks and 7.654583333333333 minutes of clean top tracks.

In [30]:
explicit_time_bw = [ ]
clean_time_bw = [ ]
for song in bowwowdata['tracks']:
    if song['explicit'] == True:
        explicit_time_bw.append(song['duration_ms'])
    else:
        clean_time_bw.append(song['duration_ms'])
print("Bow Wow has", (sum(explicit_time_lb))/60000, "minutes of explicit top tracks and", (sum(clean_time_lb))/60000, "minutes of clean top tracks.")


Bow Wow has 19.5912 minutes of explicit top tracks and 7.654583333333333 minutes of clean top tracks.

In [31]:
lil_response = requests.get('https://api.spotify.com/v1/search?query=lil&type=artist&type=artist&market=US')
lil_data = lil_response.json()
print(lil_data.keys())


dict_keys(['artists'])

In [32]:
print(lil_data['artists']['total'])


4523

In [33]:
biggie_response = requests.get('https://api.spotify.com/v1/search?query=biggie&type=artist&type=artist&market=US')
biggie_data = biggie_response.json()
print(biggie_data['artists']['total'])


50

In [34]:
print("Info on the 'Lil's would take", (((lil_data['artists']['total'])*5)/60)/60, "hours to download information.")
print("Info on the 'Biggie's would take", ((biggie_data['artists']['total'])*5)/60, "minutes to download information.")


Info on the 'Lil's would take 6.281944444444445 hours to download information.
Info on the 'Biggie's would take 4.166666666666667 minutes to download information.

In [ ]:
#Ta-Stephan: Never did last problem.