-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathartist.json
60 lines (60 loc) · 1.51 KB
/
artist.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"version": 1,
"request": {
"url": "https://api.spotify.com/v1/search?type=artist",
"method": "GET",
"authorization": {
"type": "OAuth2",
"grantType": "ClientCredentials",
"tokenServerUrl": "https://accounts.spotify.com/api/token"
},
"params": {
"q": true,
"limit": false,
"offset": false
},
"search": {
"key": "q"
},
"pagination": {
"type": "offset",
"offsetKey": "offset",
"limitKey": "limit",
"maxCount": 50
}
},
"examples": {
"q": "'drake'"
},
"response": {
"ctype": "application/json",
"tablePath": "$.artists.items[*]",
"schema": {
"name": {
"target": "$.name",
"type": "string"
},
"genres": {
"target": "$.genres",
"type": "object"
},
"popularity": {
"target": "$.popularity",
"type": "float"
},
"# followers": {
"target": "$.followers.total",
"type": "int"
},
"external urls": {
"target": "$.external_urls",
"type": "string"
},
"image url": {
"target": "$.images[0].url",
"type": "string"
}
},
"orient": "records"
}
}