gowalla 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +25 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +43 -0
- data/LICENSE +20 -0
- data/README.md +96 -0
- data/Rakefile +14 -0
- data/changelog.md +33 -0
- data/gowalla.gemspec +30 -0
- data/lib/gowalla.rb +26 -22
- data/lib/gowalla/checkins.rb +31 -0
- data/lib/gowalla/client.rb +22 -176
- data/lib/gowalla/flags.rb +42 -0
- data/lib/gowalla/items.rb +22 -0
- data/lib/gowalla/spots.rb +67 -0
- data/lib/gowalla/trips.rb +27 -0
- data/lib/gowalla/users.rb +91 -0
- data/lib/gowalla/version.rb +3 -0
- data/test/checkins_test.rb +18 -0
- data/test/client_test.rb +72 -0
- data/test/fixtures/categories.json +1826 -0
- data/test/fixtures/category.json +8 -0
- data/test/fixtures/challenges.json +191 -0
- data/test/fixtures/checkin.json +21 -0
- data/test/fixtures/events.json +185 -0
- data/test/fixtures/find_spots.json +620 -0
- data/test/fixtures/find_trips.json +695 -0
- data/test/fixtures/flag.json +23 -0
- data/test/fixtures/flags.json +31 -0
- data/test/fixtures/friend_requests.json +21 -0
- data/test/fixtures/friends.json +3 -0
- data/test/fixtures/friends_recent.json +243 -0
- data/test/fixtures/item.json +8 -0
- data/test/fixtures/item_events.json +35 -0
- data/test/fixtures/items.json +100 -0
- data/test/fixtures/me.json +49 -0
- data/test/fixtures/missing_items.json +1 -0
- data/test/fixtures/new_spot.json +49 -0
- data/test/fixtures/photos.json +88 -0
- data/test/fixtures/pins.json +81 -0
- data/test/fixtures/potential_twitter_friends.json +2090 -0
- data/test/fixtures/spot.json +251 -0
- data/test/fixtures/spots.json +557 -0
- data/test/fixtures/spots_by_category.json +620 -0
- data/test/fixtures/spots_urls.json +26 -0
- data/test/fixtures/stamps.json +284 -0
- data/test/fixtures/top_spots.json +64 -0
- data/test/fixtures/trip.json +22 -0
- data/test/fixtures/trips.json +881 -0
- data/test/fixtures/user.json +43 -0
- data/test/fixtures/users.json +46 -0
- data/test/fixtures/vaulted_items.json +12 -0
- data/test/fixtures/visited_spots.json +1 -0
- data/test/flags_test.rb +46 -0
- data/test/helper.rb +6 -6
- data/test/items_test.rb +26 -0
- data/test/spots_test.rb +70 -0
- data/test/trips_test.rb +25 -0
- data/test/users_test.rb +83 -0
- metadata +177 -29
- data/test/gowalla_test.rb +0 -214
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"user": {
|
3
|
+
"image_url":"http://s3.amazonaws.com/static.gowalla.com/users/340897-standard.jpg?1278521087?1",
|
4
|
+
"last_name":"De Luca",
|
5
|
+
"url":"/users/340897",
|
6
|
+
"first_name":"Gabriella",
|
7
|
+
"name":"Gabriella De Luca"
|
8
|
+
},
|
9
|
+
"type":"invalid",
|
10
|
+
"status":"open",
|
11
|
+
"closed_at":null,
|
12
|
+
"description":null,
|
13
|
+
"spot": {
|
14
|
+
"image_url":"http://static.gowalla.com/categories/59-cb7e4692ac273d7ac26f9554d85b7671-100.png?1",
|
15
|
+
"url":"/spots/9365",
|
16
|
+
"lat":30.2691793333,
|
17
|
+
"description":"Alamofire captured the video of this rare specie of spot which aided in the registration of it to the database.",
|
18
|
+
"lng":-97.7511334333,
|
19
|
+
"name":"Wild Gowallaby #1",
|
20
|
+
"city_state":"Austin,TX"
|
21
|
+
},
|
22
|
+
"created_at":"2010-07-28T17:23:17Z"
|
23
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"total_entries": 1,
|
3
|
+
"total_pages": 1,
|
4
|
+
"flags":
|
5
|
+
[{
|
6
|
+
"spot": {
|
7
|
+
"city_state": "Austin, TX",
|
8
|
+
"image_url": "http://static.gowalla.com/categories/59-cb7e4692ac273d7ac26f9554d85b7671-100.png?1",
|
9
|
+
"url": "/spots/9365",
|
10
|
+
"lat": 30.2691793333,
|
11
|
+
"description": "Alamofire captured the video of this rare specie of spot which aided in the registration of it to the database.",
|
12
|
+
"lng": -97.7511334333,
|
13
|
+
"name": "Wild Gowallaby #1"
|
14
|
+
},
|
15
|
+
"user":
|
16
|
+
{
|
17
|
+
"last_name": "De Luca",
|
18
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/340897-standard.jpg?1278521087?1",
|
19
|
+
"url": "/users/340897",
|
20
|
+
"first_name": "Gabriella",
|
21
|
+
"name": "Gabriella De Luca"
|
22
|
+
},
|
23
|
+
"type": "invalid",
|
24
|
+
"status": "open",
|
25
|
+
"closed_at": null,
|
26
|
+
"description": null,
|
27
|
+
"created_at": "2010-07-28T17:23:17Z"
|
28
|
+
}],
|
29
|
+
"per_page": 50,
|
30
|
+
"current_page": 1
|
31
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"friends_needing_approval": [
|
3
|
+
{
|
4
|
+
"accept_url": "/friendships/accept?user_id=2334",
|
5
|
+
"bio": "",
|
6
|
+
"fb_id": 659287847,
|
7
|
+
"first_name": "Juan",
|
8
|
+
"friends_only": false,
|
9
|
+
"hometown": "Denver, CO",
|
10
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/2334-standard.jpg?1254786755",
|
11
|
+
"last_name": "Sanchez",
|
12
|
+
"name": "Juan Sanchez",
|
13
|
+
"reject_url": "/friendships/reject?user_id=2334",
|
14
|
+
"request_url": "/friendships/request?user_id=2334",
|
15
|
+
"twitter_username": "juansanchez",
|
16
|
+
"url": "/users/2334",
|
17
|
+
"username": "juanchez",
|
18
|
+
"website": ""
|
19
|
+
}
|
20
|
+
]
|
21
|
+
}
|
@@ -0,0 +1,243 @@
|
|
1
|
+
[{
|
2
|
+
"events": [{
|
3
|
+
"event_type": "visit",
|
4
|
+
"comment": "",
|
5
|
+
"created_at": "2010/01/28 22:02:19 +0000",
|
6
|
+
"spot": {
|
7
|
+
"image_url": "http://static.gowalla.com/categories/230-standard.png",
|
8
|
+
"small_image_url": "http://static.gowalla.com/categories/230-small-standard.png",
|
9
|
+
"name": "Apple Store",
|
10
|
+
"url": "/spots/19911"
|
11
|
+
},
|
12
|
+
"user": {
|
13
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/9490-standard.jpg?1255462237",
|
14
|
+
"name": "Wayne Sutton",
|
15
|
+
"url": "/users/9490"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"event_type": "visit",
|
20
|
+
"comment": "Chilin' with the @cote and @cowboyd",
|
21
|
+
"created_at": "2010/01/28 21:33:08 +0000",
|
22
|
+
"spot": {
|
23
|
+
"image_url": "http://static.gowalla.com/spots/13087-ca950b6505658ed293365c73ae5f2915.png",
|
24
|
+
"small_image_url": "http://static.gowalla.com/spots/13087-ca950b6505658ed293365c73ae5f2915.png",
|
25
|
+
"name": "The Hideout Coffeehouse \u0026 Theatre",
|
26
|
+
"url": "/spots/13087"
|
27
|
+
},
|
28
|
+
"user": {
|
29
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/92-standard.jpg?1236959388",
|
30
|
+
"name": "Mando Escamilla",
|
31
|
+
"url": "/users/92"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"event_type": "visit",
|
36
|
+
"comment": "",
|
37
|
+
"created_at": "2010/01/28 20:56:18 +0000",
|
38
|
+
"spot": {
|
39
|
+
"image_url": "http://static.gowalla.com/categories/155-standard.png",
|
40
|
+
"small_image_url": "http://static.gowalla.com/categories/155-small-standard.png",
|
41
|
+
"name": "Johnnie's",
|
42
|
+
"url": "/spots/467768"
|
43
|
+
},
|
44
|
+
"user": {
|
45
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/57808-standard.jpg?1261349437",
|
46
|
+
"name": "Josh Kleinpeter",
|
47
|
+
"url": "/users/57808"
|
48
|
+
}
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"event_type": "visit",
|
52
|
+
"comment": "",
|
53
|
+
"created_at": "2010/01/28 19:58:57 +0000",
|
54
|
+
"spot": {
|
55
|
+
"image_url": "http://static.gowalla.com/categories/101-standard.png",
|
56
|
+
"small_image_url": "http://static.gowalla.com/categories/101-small-standard.png",
|
57
|
+
"name": "Schlotzsky's",
|
58
|
+
"url": "/spots/467452"
|
59
|
+
},
|
60
|
+
"user": {
|
61
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/71444-standard.jpg?1262018781",
|
62
|
+
"name": "Aris Bartee",
|
63
|
+
"url": "/users/71444"
|
64
|
+
}
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"event_type": "visit",
|
68
|
+
"comment": "Hangin' w/ youth pastors \u0026 clogging arteries. Good times! #stumin",
|
69
|
+
"created_at": "2010/01/28 18:52:11 +0000",
|
70
|
+
"spot": {
|
71
|
+
"image_url": "http://static.gowalla.com/categories/16-standard.png",
|
72
|
+
"small_image_url": "http://static.gowalla.com/categories/16-small-standard.png",
|
73
|
+
"name": "Cracker Barrel Old Country Store",
|
74
|
+
"url": "/spots/96082"
|
75
|
+
},
|
76
|
+
"user": {
|
77
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/18382-standard.jpg?1257931629",
|
78
|
+
"name": "Michael McMinn",
|
79
|
+
"url": "/users/18382"
|
80
|
+
}
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"event_type": "visit",
|
84
|
+
"comment": "",
|
85
|
+
"created_at": "2010/01/28 14:21:04 +0000",
|
86
|
+
"spot": {
|
87
|
+
"image_url": "http://static.gowalla.com/categories/1-standard.png",
|
88
|
+
"small_image_url": "http://static.gowalla.com/categories/1-small-standard.png",
|
89
|
+
"name": "Topeca Coffee",
|
90
|
+
"url": "/spots/422040"
|
91
|
+
},
|
92
|
+
"user": {
|
93
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/88683-standard.jpg?1263322169",
|
94
|
+
"name": "Justin Shattuck",
|
95
|
+
"url": "/users/88683"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"event_type": "visit",
|
100
|
+
"comment": "",
|
101
|
+
"created_at": "2010/01/28 02:45:37 +0000",
|
102
|
+
"spot": {
|
103
|
+
"image_url": "http://static.gowalla.com/categories/24-standard.png",
|
104
|
+
"small_image_url": "http://static.gowalla.com/categories/24-small-standard.png",
|
105
|
+
"name": "Ginger Man",
|
106
|
+
"url": "/spots/203190"
|
107
|
+
},
|
108
|
+
"user": {
|
109
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/84819-standard.jpg?1262984230",
|
110
|
+
"name": "Chris McCroskey",
|
111
|
+
"url": "/users/84819"
|
112
|
+
}
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"event_type": "visit",
|
116
|
+
"comment": "",
|
117
|
+
"created_at": "2010/01/28 01:34:26 +0000",
|
118
|
+
"spot": {
|
119
|
+
"image_url": "http://static.gowalla.com/categories/118-standard.png",
|
120
|
+
"small_image_url": "http://static.gowalla.com/categories/118-small-standard.png",
|
121
|
+
"name": "Belmont Health Club",
|
122
|
+
"url": "/spots/77295"
|
123
|
+
},
|
124
|
+
"user": {
|
125
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/1165-standard.jpg?1240030757",
|
126
|
+
"name": "Adam Keys",
|
127
|
+
"url": "/users/1165"
|
128
|
+
}
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"event_type": "visit",
|
132
|
+
"comment": "Witnessing a quite elderly couple have a speakerphone family concall",
|
133
|
+
"created_at": "2010/01/28 00:46:41 +0000",
|
134
|
+
"spot": {
|
135
|
+
"image_url": "http://static.gowalla.com/categories/110-standard.png",
|
136
|
+
"small_image_url": "http://static.gowalla.com/categories/110-small-standard.png",
|
137
|
+
"name": "Panera Bread",
|
138
|
+
"url": "/spots/32197"
|
139
|
+
},
|
140
|
+
"user": {
|
141
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/11151-standard.jpg?1255981226",
|
142
|
+
"name": "Jason Derrett",
|
143
|
+
"url": "/users/11151"
|
144
|
+
}
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"event_type": "visit",
|
148
|
+
"comment": "",
|
149
|
+
"created_at": "2010/01/28 00:33:28 +0000",
|
150
|
+
"spot": {
|
151
|
+
"image_url": "http://static.gowalla.com/categories/1-standard.png",
|
152
|
+
"small_image_url": "http://static.gowalla.com/categories/1-small-standard.png",
|
153
|
+
"name": "Goldbergs Coffee House",
|
154
|
+
"url": "/spots/463773"
|
155
|
+
},
|
156
|
+
"user": {
|
157
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/53443-standard.jpg?1264485676",
|
158
|
+
"name": "Michael Troy",
|
159
|
+
"url": "/users/53443"
|
160
|
+
}
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"event_type": "visit",
|
164
|
+
"comment": "Latte!",
|
165
|
+
"created_at": "2010/01/27 16:38:59 +0000",
|
166
|
+
"spot": {
|
167
|
+
"image_url": "http://static.gowalla.com/categories/1-standard.png",
|
168
|
+
"small_image_url": "http://static.gowalla.com/categories/1-small-standard.png",
|
169
|
+
"name": "Scooters Coffee House",
|
170
|
+
"url": "/spots/23951"
|
171
|
+
},
|
172
|
+
"user": {
|
173
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/23155-standard.jpg?1259097712",
|
174
|
+
"name": "Daniel Hedrick",
|
175
|
+
"url": "/users/23155"
|
176
|
+
}
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"event_type": "visit",
|
180
|
+
"comment": "",
|
181
|
+
"created_at": "2010/01/27 07:17:52 +0000",
|
182
|
+
"spot": {
|
183
|
+
"image_url": "http://static.gowalla.com/categories/24-standard.png",
|
184
|
+
"small_image_url": "http://static.gowalla.com/categories/24-small-standard.png",
|
185
|
+
"name": "Shay McElroy's",
|
186
|
+
"url": "/spots/373211"
|
187
|
+
},
|
188
|
+
"user": {
|
189
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/81147-standard.jpg?1263359391",
|
190
|
+
"name": "Wes Gamble",
|
191
|
+
"url": "/users/81147"
|
192
|
+
}
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"event_type": "visit",
|
196
|
+
"comment": "",
|
197
|
+
"created_at": "2010/01/26 22:59:41 +0000",
|
198
|
+
"spot": {
|
199
|
+
"image_url": "http://static.gowalla.com/categories/167-standard.png",
|
200
|
+
"small_image_url": "http://static.gowalla.com/categories/167-small-standard.png",
|
201
|
+
"name": "Mad Anthony's",
|
202
|
+
"url": "/spots/54416"
|
203
|
+
},
|
204
|
+
"user": {
|
205
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/3221-standard.jpg?1253323217",
|
206
|
+
"name": "John Nunemaker",
|
207
|
+
"url": "/users/3221"
|
208
|
+
}
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"event_type": "visit",
|
212
|
+
"comment": "Getting breakfast",
|
213
|
+
"created_at": "2010/01/26 18:57:46 +0000",
|
214
|
+
"spot": {
|
215
|
+
"image_url": "http://static.gowalla.com/categories/64-standard.png",
|
216
|
+
"small_image_url": "http://static.gowalla.com/categories/64-small-standard.png",
|
217
|
+
"name": "Jamba Juice",
|
218
|
+
"url": "/spots/360716"
|
219
|
+
},
|
220
|
+
"user": {
|
221
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/91630-standard.jpg?1263684512",
|
222
|
+
"name": "Erik Dungan",
|
223
|
+
"url": "/users/91630"
|
224
|
+
}
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"event_type": "visit",
|
228
|
+
"comment": "Closing every account I have ",
|
229
|
+
"created_at": "2010/01/26 15:31:46 +0000",
|
230
|
+
"spot": {
|
231
|
+
"image_url": "http://static.gowalla.com/categories/186-standard.png",
|
232
|
+
"small_image_url": "http://static.gowalla.com/categories/186-small-standard.png",
|
233
|
+
"name": "Bank Of America",
|
234
|
+
"url": "/spots/164052"
|
235
|
+
},
|
236
|
+
"user": {
|
237
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/1707-standard.jpg?1262011383",
|
238
|
+
"name": "Wynn Netherland",
|
239
|
+
"url": "/users/1707"
|
240
|
+
}
|
241
|
+
}],
|
242
|
+
"name": "Recent Activity"
|
243
|
+
}]
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"detail_html": "<html>\n\n<head>\n\t<meta name = \"viewport\" content = \"width = device-width\">\n\t<style>\n\t\t* {\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t}\n\t\tbody {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tbackground: #ebf2dd url(images/item-bg.gif) top left repeat;\n\t\t\tfont: 13px \"Helvetica Neue\", Arial, sans-serif;\n\t\t}\n\t\t.clearfix:after {\n\t\t content: \".\";\n\t\t display: block;\n\t\t height: 0;\n\t\t clear: both;\n\t\t visibility: hidden;\n\t\t}\n\t\t.gowalla_item_detail_wrapper {\n\t\t\tpadding: 8px;\n\t\t}\n\t\t#gowalla_item_detail_item_header {\n\t\t\tmargin-bottom: 4px;\n\t\t}\n\t\t.item_number_wrapper {\n\t\t\tdisplay: block;\n\t\t\tpadding: 8px;\n\t\t\tbackground: #fff;\n\t\t\tborder: 1px solid #cddeab;\n\t\t\t-webkit-border-radius: 6px;\n\t\t\t-moz-border-radius: 6px;\n\t\t\tmargin-left: -2px;\n\t\t}\n\t\t.item_name {\n\t\t\tcolor: #37451e;\n\t\t\tfont-size: 17px;\n\t\t\tpadding: 8px 0 8px 0;\n\t\t\tfont-weight: bold;\n\t\t}\n\t\t.item_image {\n\t\t\tfloat: left;\n\t\t\tmargin-right: 12px;\n\t\t\tmargin-top: 3px;\n\t\t}\n\t\t.item_number_label {\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t\tfont-size: 12px;\n\t\t\tcolor: #b0cb79;\n\t\t}\n\t\t.gowalla_item_detail_item_number {\n\t\t\tfont-size: 27px;\n\t\t\tfont-weight: bold;\n\t\t\tcolor: #455626;\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t\tfont-size: 18px;\n\t\t}\n\t\t.gowalla_item_detail_item_number span {\n\t\t\tfont-family: \"Georgia\";\n\t\t\tfont-style: italic;\n\t\t\tfont-weight: normal;\n\t\t}\n\t\t.item_detail {\n\t\t\tfloat: left;\n\t\t\tmax-width: 63%;\n\t\t}\n\t\t.gowalla_item_detail_activities {\n\t\t\twidth: 100%;\n\t\t\tmargin-bottom: 8px;\n\t\t\tmargin-top: 12px;\n\t\t}\n\t\t.gowalla_item_detail_activity:first-child {\n\t\t\t-webkit-border-top-left-radius: 6px;\n\t\t\t-webkit-border-top-right-radius: 6px;\n\t\t}\n\t\t.gowalla_item_detail_activity:last-child {\n\t\t\t-webkit-border-bottom-left-radius: 6px;\n\t\t\t-webkit-border-bottom-right-radius: 6px;\n\t\t\tborder-bottom: 1px solid #cddeab;\n\t\t}\n\t\t.gowalla_item_detail_activity {\n\t\t\tbackground-color: #fff;\n\t\t\tclear: both;\n\t\t\twidth: 100%;\n\t\t\tcolor: #5a6d37;\n\t\t\t-webkit-box-sizing: border-box;\n\t\t\tpadding: 8px 8px 7px 8px;\n\t\t\tborder: 1px solid #cddeab;\n\t\t\tborder-bottom: none;\n\t\t}\n\t\t.avatar {\n\t\t\tfloat: left;\n\t\t\theight: 50px;\n\t\t\twidth: 50px;\n\t\t\tmargin-right: 8px;\n\t\t}\n\t\t.gowalla_item_detail_activity_detail {\n\t\t\tmargin-left: 10px;\n\t\t\tfloat: left;\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t\tline-height: 15px;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\t\t.gowalla_item_detail_user_name {\n\t\t\tdisplay: block;\n\t\t\tcolor: #2c3718;\n\t\t\tfont-weight: bold;\n\t\t\tfont-size: 14px;\n\t\t\tpadding: 0 0 3px 0;\n\t\t\tmargin: 0;\n\t\t}\n\t\t.gowalla_item_detail_activity img {\n\t\t\tdisplay: block;\n\t\t\t-webkit-border-radius: 6px;\n\t\t}\n\t\t.gowalla_item_detail_activity_time {\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tfont-size: 11px;\n\t\t\tcolor: #b0cb79;\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t}\n\t\t.gowalla_item_detail_activity_message {\n\t\t\tdisplay: block;\n\t\t\tfont-size: 12px;\n\t\t\tpadding: 0 0 3px 0;\n\t\t\tmargin: 0;\n\t\t}\n\t\t.clear {\n\t\t\tclear: both;\n\t\t}\n\t\t\n\t\t.gowalla_button {\n\t\t\tdisplay: block;\n\t\t\tposition: relative;\n\t\t\ttext-align: center;\n\t\t\tborder: 1px solid #dc610f;\n\t\t\tbackground: #dc610f;\n\t\t\tcolor: #fff;\n\t\t\theight: 45px;\n\t\t\tline-height: 45px;\n\t\t\tfont-size: 18px;\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t\t-webkit-border-radius: 6px;\n\t\t\t-moz-border-radius: 6px;\n\t\t\tbackground: -webkit-gradient(\n\t\t\t linear,\n\t\t\t left bottom,\n\t\t\t left top,\n\t\t\t color-stop(0.00, rgb(255,69,1)),\n\t\t\t color-stop(0.45, rgb(250,105,15)),\n\t\t\t color-stop(0.46, rgb(250,125,24)),\n\t\t\t color-stop(0.95, rgb(245,145,30)),\n\t\t\t\t\tcolor-stop(0.96, rgb(248,165,40)),\n\t\t\t\t\tcolor-stop(1.0, rgb(245,145,30))\n\t\t\t);\n\t\t\t-webkit-box-shadow: 0 1px 3px #8da269;\n\t\t}\n\t\t.gowalla_button.cancel {\n\t\t\tbackground: #90ab56;\n\t\t\tbackground: -webkit-gradient(\n\t\t\t linear,\n\t\t\t left bottom,\n\t\t\t left top,\n\t\t\t\t\tcolor-stop(0.00, rgb(153,178,85)),\n\t\t\t color-stop(0.45, rgb(172,197,115)),\n\t\t\t\t color-stop(0.46, rgb(181,203,129)),\n\t\t\t color-stop(1.0, rgb(200,219,161))\n\t\t\t);\n\t\t\tborder-color: #90ab56;\n\t\t}\n\t\t.gowalla_button a {\n\t\t\tfont-weight: bold;\n\t\t\tcolor: #fff;\n\t\t\ttext-align: center;\n\t\t\ttext-decoration: none;\n\t\t\ttext-shadow: #ff4400 0px -1px 1px;\n\t\t}\n\t\t.gowalla_button.cancel a {\n\t\t\ttext-shadow: #6e8c2c 0px -1px 1px;\n\t\t}\n\t\t#spinner {\n\t\t\tdisplay: none;\n\t\t\twidth: 300px;\n\t\t\tpadding: 10px;\n\t\t\tfont-size: 18px;\n\t\t\ttext-align: center;\n\t\t\tfont-weight: bold;\n\t\t\tcolor: #37451e;\n\t\t\ttext-shadow: #fff 0px 1px 1px;\n\t\t\ttext-decoration: none;\n\t\t}\n\t\t\n\t\t#gowlla_item_detail_confirmation_html {\n\t\t\theight: 480px;\n\t\t\ttext-align: center;\n\t\t\ttext-shadow: #fff 0px 1px 1px;\n \t\tfont: 20px 'Helvetica Neue', Arial, sans-serif;\n\t\t\tcolor: #333;\n\t\t}\n\t\t\n\t\t#confirmation_text {\n\t\t\tfont-size: 18px;\n\t\t\tpadding-top: 25px;\n\t\t\tpadding-left: 25px;\n\t\t\ttext-align: center;\n\t\t\tpadding-right: 30px;\n\t\t}\n\t\t</style>\n\t\t<script type=\"text/javascript\" charset=\"utf-8\">\n\t\t\n\t\t\t//disable the bounce effect - but this disables scrolling too\n\t\t\t//document.ontouchmove = function(event){\n\t\t\t//event.preventDefault();\n\t\t\t//}\n\t\t\n\t\t\tfunction showConfirmation(){\n\t\t\t\tdocument.getElementById(\"gowalla_item_detail_confirmation_html\").style.display = 'block';\n\t\t\t\tdocument.getElementById(\"gowalla_item_detail_html\").style.display = 'none';\n\t\t\t}\n\t\t\t\n\t\t\tfunction hideConfirmation(){\n\t\t\t\tdocument.getElementById(\"gowalla_item_detail_html\").style.display = 'block';\n\t\t\t\tdocument.getElementById(\"gowalla_item_detail_confirmation_html\").style.display = 'none';\n\t\t\t}\n\t\t\t\n\t\t\tfunction vault(){\n\t\t\t\thideConfirmation();\n\t\t\t\tdocument.getElementById(\"spinner\").style.display = 'block';\n\t\t\t\tdocument.getElementById(\"gowalla_add_to_collection_button\").style.display = 'none';\n\t\t\t\t\n\t\t\t\tvar request = new XMLHttpRequest();\n\t\t\t\trequest.onreadystatechange = function(){\n\t\t\t\t var spinner = document.getElementById('spinner');\n\t\t\t\t if (this.readyState !== 4) return;\n\n\t\t\t\t\tif (this.status == 200) {\n\t\t\t\t\t\tspinner.innerHTML = 'Added to Your Collection!';\n\t\t\t\t\t} else {\n\t\t\t\t\t\tspinner.style.display = 'none';\n\t\t\t\t\t\tdocument.getElementById(\"gowalla_add_to_collection_button\").style.display = 'block';\n\t\t\t\t\t\tdocument.getElementById('gowalla_add_to_collection_button_text').innerHTML = 'Error! Please Try Again';\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\t\n\t\t\t\tvar url = 'http://gowalla.com/items/607583/client_vault.html?item_token=item_auth_token_a93cd73bbbb3165698fad080466a165f';\n\t\t\t\trequest.open('POST', url);\n\t\t\t\trequest.send();\n\t\t\t}\n\t\t</script>\n</head>\n\n<body>\n\t<div class=\"gowalla_item_detail_wrapper\">\n\t\t<div id=\"gowalla_item_detail_html\">\n\t\t\t\n\t\t<div id=\"gowalla_item_detail_item_header\" class=\"clearfix\">\n\t\t\t<img class=\"item_image\" height=\"100\" width=\"100\" src=\"http://static.gowalla.com/kinds/1526-9f0d39208026a26d5afa565de4acbbe6.png\">\n\t\t\t<div class=\"item_detail\">\n\t\t\t\t<p class=\"item_name\">Sweets</p>\n\t\t\t\t<div class=\"item_number_wrapper\">\n\t\t\t\t\t<p class=\"item_number_label\">Issue number</p>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<p class=\"gowalla_item_detail_item_number\">13,998</p>\n\t\t\t\t\t\t\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t\n\t\t<p id=\"spinner\"><img src=\"/images/item-spinner-light-green.gif\" /></p>\n\t\t<p id=\"gowalla_add_to_collection_button\" class=\"gowalla_button\" onclick=\"showConfirmation();\"><a href=\"#\" id=\"add_to_collection_button_text\" onclick=\"return false;\">Add to Collection</a></p>\n\t\n\t\t<div class=\"gowalla_item_detail_activities\">\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t<div id=\"activity_0\" class=\"gowalla_item_detail_activity clearfix\">\n\t\t\t\t\t<img height=\"50\" width=\"50\" class=\"avatar\" src=\"http://s3.amazonaws.com/static.gowalla.com/users/1-standard.jpg?1263521844\">\n\t\t\t\t\t<div class=\"gowalla_item_detail_activity_detail\">\n\t\t\t\t\t\t<p class=\"gowalla_item_detail_user_name\">Scott Raymond</p>\n\t\t\t\t\t\t<p class=\"gowalla_item_detail_activity_message\">Dropped at Jerusalem Bakery</p>\n\t\t\t\t\t\t<p class=\"gowalla_item_detail_activity_time\">2 months ago</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t\t<div id=\"activity_1\" class=\"gowalla_item_detail_activity clearfix\">\n\t\t\t\t\t<img height=\"50\" width=\"50\" class=\"avatar\" src=\"http://s3.amazonaws.com/static.gowalla.com/users/1-standard.jpg?1263521844\">\n\t\t\t\t\t<div class=\"gowalla_item_detail_activity_detail\">\n\t\t\t\t\t\t<p class=\"gowalla_item_detail_user_name\">Scott Raymond</p>\n\t\t\t\t\t\t<p class=\"gowalla_item_detail_activity_message\">Received bonus item</p>\n\t\t\t\t\t\t<p class=\"gowalla_item_detail_activity_time\">2 months ago</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t</div>\n\t\t</div>\n\t\t<div id=\"gowalla_item_detail_confirmation_html\" style=\"display:none;\">\n\t\t\t<p id=\"confirmation_text\">You are about to permanently add <b>some Sweets</b> to your collection.</p>\n\t\t\t<br />\n\t\t\t<br />\n\t\t\t<p style=\"font-size: 18px; padding-bottom: 10px; text-align: center;\">Are you sure?</p>\n\t\t\t<p class=\"gowalla_button\" style=\"margin-bottom: 8px;\" onclick=\"vault();\"><a href=\"#\" id=\"gowalla_add_item_button\" onclick=\"return false;\">Yes</a></p>\n\t\t\t<p class=\"gowalla_button cancel\" onclick=\"hideConfirmation();\"><a href=\"#\" id=\"gowalla_cancel_button\" onclick=\"return false;\">No</a></p>\n\t\t<div>\n\t</div>\n</body>\n</html>",
|
3
|
+
"determiner": "some",
|
4
|
+
"image_url": "http://static.gowalla.com/kinds/1526-9f0d39208026a26d5afa565de4acbbe6.png",
|
5
|
+
"issue_number": 13998,
|
6
|
+
"name": "Sweets",
|
7
|
+
"url": "/items/607583"
|
8
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"events": [
|
3
|
+
{
|
4
|
+
"user": {
|
5
|
+
"first_name": "Scott",
|
6
|
+
"username": "sco",
|
7
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/1-standard.jpg?1279173852?1",
|
8
|
+
"last_name": "Raymond",
|
9
|
+
"hometown": "Austin, Texas",
|
10
|
+
"url": "/users/1",
|
11
|
+
"name": "Scott Raymond"
|
12
|
+
},
|
13
|
+
"type": "drop",
|
14
|
+
"spot": {
|
15
|
+
"image_url": "http://static.gowalla.com/categories/83-d43e1674929b58117b08628377c87de9-100.png?1",
|
16
|
+
"url": "/spots/8993",
|
17
|
+
"name": "Jerusalem Bakery"
|
18
|
+
},
|
19
|
+
"created_at": "2009-12-28T21:26:09Z"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"user": {
|
23
|
+
"first_name": "Scott",
|
24
|
+
"username": "sco",
|
25
|
+
"image_url": "http://s3.amazonaws.com/static.gowalla.com/users/1-standard.jpg?1279173852?1",
|
26
|
+
"last_name": "Raymond",
|
27
|
+
"hometown": "Austin, Texas",
|
28
|
+
"url": "/users/1",
|
29
|
+
"name": "Scott Raymond"
|
30
|
+
},
|
31
|
+
"type": "bonus",
|
32
|
+
"created_at": "2009-12-14T00:18:24Z"
|
33
|
+
}
|
34
|
+
]
|
35
|
+
}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
{
|
2
|
+
"items": [
|
3
|
+
{
|
4
|
+
"image_url": "http://static.gowalla.com/kinds/1522-91946954ac080dd17017ca931472a87f.png",
|
5
|
+
"issue_number": 27868,
|
6
|
+
"name": "Bowl of Noodles",
|
7
|
+
"determiner": "a",
|
8
|
+
"url": "/items/1693342",
|
9
|
+
"pick_up_url": "/items/1693342/pick_up"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"image_url": "http://static.gowalla.com/kinds/1486-1307477a2e75e0186cf66bcea17acd34.png",
|
13
|
+
"issue_number": 8482,
|
14
|
+
"name": "Tacos",
|
15
|
+
"determiner": "some",
|
16
|
+
"url": "/items/590731",
|
17
|
+
"pick_up_url": "/items/590731/pick_up"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"image_url": "http://static.gowalla.com/kinds/1517-b250c16539c455a5c51c21e3e45666b4.png",
|
21
|
+
"issue_number": 7822,
|
22
|
+
"name": "Oranges",
|
23
|
+
"determiner": "some",
|
24
|
+
"url": "/items/521222",
|
25
|
+
"pick_up_url": "/items/521222/pick_up"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"image_url": "http://static.gowalla.com/kinds/1470-e79b74e4a39d28d1ec892a8106ea369d.png",
|
29
|
+
"issue_number": 13532,
|
30
|
+
"name": "Clickity-Bricks",
|
31
|
+
"determiner": "some",
|
32
|
+
"url": "/items/1173656",
|
33
|
+
"pick_up_url": "/items/1173656/pick_up"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"image_url": "http://static.gowalla.com/kinds/1581-b547ed1f1b26ddd46b6c9d84fe1a5c95.png",
|
37
|
+
"issue_number": 26604,
|
38
|
+
"name": "Luggage Tag",
|
39
|
+
"determiner": "a",
|
40
|
+
"url": "/items/1114147",
|
41
|
+
"pick_up_url": "/items/1114147/pick_up"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"image_url": "http://static.gowalla.com/kinds/1500-004fc5d192336e2667143188c391ad9f.png",
|
45
|
+
"issue_number": 8269,
|
46
|
+
"name": "Blender",
|
47
|
+
"determiner": "a",
|
48
|
+
"url": "/items/392997",
|
49
|
+
"pick_up_url": "/items/392997/pick_up"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"image_url": "http://static.gowalla.com/kinds/1442-87b36719f54c04e86ca5dfc2b67b12ae.png",
|
53
|
+
"issue_number": 23105,
|
54
|
+
"name": "Turquoise Mask",
|
55
|
+
"determiner": "a",
|
56
|
+
"url": "/items/1476326",
|
57
|
+
"pick_up_url": "/items/1476326/pick_up"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"image_url": "http://static.gowalla.com/kinds/1659-7c8ba0f18a61f799b84b9031d1780400.png",
|
61
|
+
"issue_number": 17137,
|
62
|
+
"name": "Box of Cookies",
|
63
|
+
"determiner": "a",
|
64
|
+
"url": "/items/1300501",
|
65
|
+
"pick_up_url": "/items/1300501/pick_up"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"image_url": "http://static.gowalla.com/kinds/1486-1307477a2e75e0186cf66bcea17acd34.png",
|
69
|
+
"issue_number": 14211,
|
70
|
+
"name": "Tacos",
|
71
|
+
"determiner": "some",
|
72
|
+
"url": "/items/898829",
|
73
|
+
"pick_up_url": "/items/898829/pick_up"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"image_url": "http://static.gowalla.com/kinds/1486-1307477a2e75e0186cf66bcea17acd34.png",
|
77
|
+
"issue_number": 9922,
|
78
|
+
"name": "Tacos",
|
79
|
+
"determiner": "some",
|
80
|
+
"url": "/items/676571",
|
81
|
+
"pick_up_url": "/items/676571/pick_up"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"image_url": "http://static.gowalla.com/kinds/1478-3a2e69784a68267ac0f50c15271ac0a2.png",
|
85
|
+
"issue_number": 10822,
|
86
|
+
"name": "Slice of Pizza",
|
87
|
+
"determiner": "a",
|
88
|
+
"url": "/items/539125",
|
89
|
+
"pick_up_url": "/items/539125/pick_up"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"image_url": "http://static.gowalla.com/kinds/1455-1e030e4274081ea8a92cc1718336de30.png",
|
93
|
+
"issue_number": 735,
|
94
|
+
"name": "Bratwurst",
|
95
|
+
"determiner": "a",
|
96
|
+
"url": "/items/137953",
|
97
|
+
"pick_up_url": "/items/137953/pick_up"
|
98
|
+
}
|
99
|
+
]
|
100
|
+
}
|