-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathrecipes.json
55 lines (55 loc) · 1.39 KB
/
recipes.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
{
"version": 1,
"request": {
"url": "https://api.spoonacular.com/recipes/complexSearch",
"method": "GET",
"authorization": {
"type": "QueryParam",
"keyParam": "apiKey"
},
"params": {
"query": true,
"minProtein": false,
"minCalories": false,
"minCarbs": false,
"cuisine": false,
"diet": false,
"maxCarbs": false,
"maxCalories": false,
"maxProtein": false
},
"pagination": {
"type": "offset",
"offsetKey": "offset",
"limitKey": "limit",
"maxCount": 1000
}
},
"response": {
"ctype": "application/json",
"tablePath": "$.results[*]",
"schema": {
"id": {
"target": "$.id",
"type": "int"
},
"title": {
"target": "$.title",
"type": "string"
},
"image": {
"target": "$.image",
"type": "string"
},
"imageType": {
"target": "$.imageType",
"type": "string"
},
"nutrients": {
"target": "$.nutrition.nutrients",
"type": "list"
}
},
"orient": "records"
}
}