forked from HRNYC12-Socrates/OkCoupon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdummyData.js
80 lines (80 loc) · 2.99 KB
/
dummyData.js
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
{
"query": {
"total": 1000,
"page": 1,
"per_page": 10,
"query": "bagel",
"location": {
"address": "444 Castro St.",
"locality": "Mountain View",
"region": "CA",
"postal_code": "94041",
"country": "United States",
"latitude": 37.390751,
"longitude": -122.080953
},
"radius": 10,
"online": null,
"category_slugs": [],
"provider_slugs": [],
"updated_after": null
},
"coupons": [
{
"coupon": {
"id": 1,
"title": "Coupon for Benny's Bagels",
"description": null,
"postal_codes": [94041, 94042],
"url": "http://api.sqoot.dev/v2/coupons/1/click?api_key=",
"untracked_url": "http://www.example.org/",
"provider_name": "Datasphere",
"provider_slug": "datasphere",
"category_name": "Restaurants",
"category_slug": "restaurants",
"image_url": "https://api.sqoot.dev/v2/coupons/1/image?api_key=cj4fzu",
"expires_at": "2014-03-30T22:00:00Z",
"created_at": "2013-11-04T16:18:04Z",
"updated_at": "2013-11-04T16:18:04Z",
"merchants": [
{
"merchant": {
"id": 2345,
"name": "Posh Bagel",
"address": "444 Castro St.",
"locality": "Mountain View",
"region": "CA",
"postal_code": "94041",
"country": "United States",
"country_code": "US",
"latitude": 37.390751,
"longitude": -122.080953
}
}
],
"options": [
{
"coupon_option": {
"id": 123,
"title": "Option 1: Free bagel",
"description": "FREE Bagel With Purchase of Small Coffee",
"fine_print": "With coupon only. Coupon void if altered.",
"mobile": true,
"type": "service"
}
},
{
"coupon_option": {
"id": 125,
"title": "Option 2: Free coffee",
"description": "FREE Coffee With Purchase of Small Bagel",
"fine_print": "With coupon only. Coupon void if altered.",
"mobile": false,
"type": "location"
}
}
]
}
}
]
}