@spotify/web-api-ts-sdk
Version:
A typescript SDK for the Spotify Web API
254 lines • 9.92 kB
text/typescript
export function validCategories() {
return {
"categories":{
"href":"https://api.spotify.com/v1/browse/categories?country=GB&offset=0&limit=20",
"items":[
{
"href":"https://api.spotify.com/v1/browse/categories/toplists",
"icons":[
{
"height":275,
"url":"https://t.scdn.co/media/derived/toplists_11160599e6a04ac5d6f2757f5511778f_0_0_275_275.jpg",
"width":275
}
],
"id":"toplists",
"name":"Top Lists"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFLVaM30PMBm4",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/8e508d7eb5b843a89c368c9507ecc429.jpeg",
"width":null
}
],
"id":"0JQ5DAqbMKFLVaM30PMBm4",
"name":"Summer"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFEC4WFtoNRpw",
"icons":[
{
"height":274,
"url":"https://t.scdn.co/media/derived/pop-274x274_447148649685019f5e2a03a39e78ba52_0_0_274_274.jpg",
"width":274
}
],
"id":"0JQ5DAqbMKFEC4WFtoNRpw",
"name":"Pop"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFAXlCG6QvYQ4",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/media/links/workout-274x274.jpg",
"width":null
}
],
"id":"0JQ5DAqbMKFAXlCG6QvYQ4",
"name":"Workout"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFQ00XGBls6ym",
"icons":[
{
"height":274,
"url":"https://t.scdn.co/media/original/hip-274_0a661854d61e29eace5fe63f73495e68_274x274.jpg",
"width":274
}
],
"id":"0JQ5DAqbMKFQ00XGBls6ym",
"name":"Hip-Hop"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFzHmL4tf05da",
"icons":[
{
"height":274,
"url":"https://t.scdn.co/media/original/mood-274x274_976986a31ac8c49794cbdc7246fd5ad7_274x274.jpg",
"width":274
}
],
"id":"0JQ5DAqbMKFzHmL4tf05da",
"name":"Mood"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFA6SOHvT3gck",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/fada056dcfd54cd28faf80d62b7059c6.jpeg",
"width":null
}
],
"id":"0JQ5DAqbMKFA6SOHvT3gck",
"name":"Party"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFF1br7dZcRtK",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/c5495b9f0f694ffcb39c9217d4ed4375",
"width":null
}
],
"id":"0JQ5DAqbMKFF1br7dZcRtK",
"name":"Pride"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFHOzuVTgTizF",
"icons":[
{
"height":274,
"url":"https://t.scdn.co/media/derived/edm-274x274_0ef612604200a9c14995432994455a6d_0_0_274_274.jpg",
"width":274
}
],
"id":"0JQ5DAqbMKFHOzuVTgTizF",
"name":"Dance/Electronic"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFFtlLYUHv8bT",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/ee9451b3ed474c82b1da8f9b5eafc88f.jpeg",
"width":null
}
],
"id":"0JQ5DAqbMKFFtlLYUHv8bT",
"name":"Alternative"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFCWjUTdzaG0e",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/fe06caf056474bc58862591cd60b57fc.jpeg",
"width":null
}
],
"id":"0JQ5DAqbMKFCWjUTdzaG0e",
"name":"Indie"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFPw634sFwguI",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/084155aeaa724ea1bd393a017d67b709",
"width":null
}
],
"id":"0JQ5DAqbMKFPw634sFwguI",
"name":"EQUAL"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFLb2EqgLtpjC",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/3710b68657574bc79df14bd74629e5ac",
"width":null
}
],
"id":"0JQ5DAqbMKFLb2EqgLtpjC",
"name":"Wellness"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFDXXwE9BDJAr",
"icons":[
{
"height":274,
"url":"https://t.scdn.co/media/derived/rock_9ce79e0a4ef901bbd10494f5b855d3cc_0_0_274_274.jpg",
"width":274
}
],
"id":"0JQ5DAqbMKFDXXwE9BDJAr",
"name":"Rock"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFF9bY76LXmfI",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/cad629fb65a14de4beddb38510e27cb1",
"width":null
}
],
"id":"0JQ5DAqbMKFF9bY76LXmfI",
"name":"Frequency"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFEZPnFQSFB1T",
"icons":[
{
"height":274,
"url":"https://t.scdn.co/media/derived/r-b-274x274_fd56efa72f4f63764b011b68121581d8_0_0_274_274.jpg",
"width":274
}
],
"id":"0JQ5DAqbMKFEZPnFQSFB1T",
"name":"R&B"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFN2GMExExvrS",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/448949e524284cea9aedbf32aa69d90f.jpeg",
"width":null
}
],
"id":"0JQ5DAqbMKFN2GMExExvrS",
"name":"Throwback"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFx0uLQR2okcc",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/04da469dd7be4dab96659aa1fa9f0ac9.jpeg",
"width":null
}
],
"id":"0JQ5DAqbMKFx0uLQR2okcc",
"name":"At Home"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFCfObibaOZbv",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/0d39395309ba47838ef12ce987f19d16.jpeg",
"width":null
}
],
"id":"0JQ5DAqbMKFCfObibaOZbv",
"name":"Gaming"
},
{
"href":"https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFOOxftoKZxod",
"icons":[
{
"height":null,
"url":"https://t.scdn.co/images/c6677aa51acf4121b66b9d1f231bd427.png",
"width":null
}
],
"id":"0JQ5DAqbMKFOOxftoKZxod",
"name":"RADAR"
}
],
"limit":20,
"next":"https://api.spotify.com/v1/browse/categories?country=GB&offset=20&limit=20",
"offset":0,
"previous":null,
"total":54
}
}
}