-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-endpoints.json
153 lines (147 loc) · 3.21 KB
/
example-endpoints.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// Businesses endpoint example
{
"businesses": [
{
"id": 952,
"name": "Berea College Farm",
"primary_phone_normalized": "8599853685",
"primary_phone_national": "(859) 985-3685",
"alternate_phone_normalized": null,
"alternate_phone_national": null,
"email": "farmstore@berea.edu",
"web_url": "https://farm.berea.edu/",
"facebook_url": "facebook.com/bereacollegefarm",
"instagram_url": "instagram.com/bereacollegefarm",
"twitter_url": null,
"sales_url": null,
"is_b2b": false,
"is_dtc": false,
"has_farm_impact": false,
"can_buy_on_location": false,
"addresses": [
1,
2,
...
],
"business_categories": [
1,
2,
3,
...
],
"product_categories": [
1,
2,
3,
...
],
"programs": [
1,
2,
3,
...
],
"live_animals": [
1,
2,
3,
...
],
},
...
]
}
// Addresses endpoint example
{
"addresses": [
{
"id": 11047,
"street1": "311 N Main Street",
"street2": null,
"locality": "Berea",
"region": "KY",
"postal_code": "40404",
"county_code": "073",
"country": "US",
"description": null,
"longitude": -84.288843,
"latitude": 37.575318
}
],
}
// Business categories endpoint example
{
"business_categories": [
{
"id": 14,
"name": "Manufacturer"
},
{
"id": 19,
"name": "Retailer"
},
...
]
}
// Products endpoint example
{
"products": [
{
"id": 1,
"name": "Breads",
"is_organic": true
},
{
"id": 2,
"name": "Buns",
"is_organic": true
},
...
]
}
// Product categories endpoint example
{
"product_categories": [
{
"id": 29,
"name": "Baked Goods"
},
...
]
}
// Programs endpoint example
{
"programs": [
{
"id": 1,
"name": "Farms are Fun"
},
{
"id": 2,
"name": "Homegrown by Heroes"
},
{
"id": 3,
"name": "Junior Chef"
},
...
]
}
// Live animals endpoint example
{
"live_animals": [
{
"id": 1,
"name": "Show Pigs (Berkshire)"
},
{
"id": 2,
"name": "Show Pigs (Yorkshire)"
},
{
"id": 3,
"name": "Llamas"
},
...
]
}