foursquare2 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.9.1
data/foursquare2.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "foursquare2"
8
- s.version = "1.9.0"
8
+ s.version = "1.9.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Mueller", "Marco Moura"]
12
- s.date = "2012-11-10"
12
+ s.date = "2012-12-23"
13
13
  s.description = "Gives access to all endpoints in version 2 of foursquare's API with syntax that will be familiar to those who used the original foursquare gem by Jeremy Welch."
14
14
  s.email = ["muellermr@gmail.com", "email@marcomoura.com"]
15
15
  s.extra_rdoc_files = [
@@ -66,6 +66,9 @@ Gem::Specification.new do |s|
66
66
  "test/fixtures/users/leaderboard.json",
67
67
  "test/fixtures/users/search_users.json",
68
68
  "test/fixtures/users/user.json",
69
+ "test/fixtures/users/user_checkins_aftertimestamp.json",
70
+ "test/fixtures/users/user_checkins_beforetimestamp.json",
71
+ "test/fixtures/users/user_checkins_plain.json",
69
72
  "test/fixtures/users/user_lists.json",
70
73
  "test/fixtures/users/user_mayorships.json",
71
74
  "test/fixtures/users/user_tips.json",
@@ -83,6 +83,7 @@ module Foursquare2
83
83
  # @param [Hash] options
84
84
  # @option options Integer :limit
85
85
  # @option options Integer :offest - For paging through results
86
+ # @option options String :sort - "newestfirst" or "oldestfirst"
86
87
  # @option options Integer :afterTimestamp - Get all checkins after this epoch time.
87
88
  # @option options Integer :beforeTimestamp - Get all checkins before this epoch time.
88
89
 
@@ -0,0 +1,917 @@
1
+ {
2
+ "meta": {
3
+ "code": 200
4
+ },
5
+ "notifications": [
6
+ {
7
+ "type": "notificationTray",
8
+ "item": {
9
+ "unreadCount": 0
10
+ }
11
+ }
12
+ ],
13
+ "response": {
14
+ "checkins": {
15
+ "count": 63,
16
+ "items": [
17
+ {
18
+ "id": "50c0cc2de4b093805465b930",
19
+ "createdAt": 1354812461,
20
+ "type": "checkin",
21
+ "timeZoneOffset": -300,
22
+ "venue": {
23
+ "id": "4cf2c5321d18a143951b5cec",
24
+ "name": "Taïm Mobile Falafel & Smoothie Truck",
25
+ "contact": {
26
+ "phone": "9174148894",
27
+ "formattedPhone": "(917) 414-8894",
28
+ "twitter": "taimmobile"
29
+ },
30
+ "location": {
31
+ "address": "Moving Target!",
32
+ "lat": 40.74010382743943,
33
+ "lng": -73.98965835571289,
34
+ "postalCode": "10013",
35
+ "city": "New York",
36
+ "state": "NY",
37
+ "country": "United States",
38
+ "cc": "US"
39
+ },
40
+ "categories": [
41
+ {
42
+ "id": "4bf58dd8d48988d1cb941735",
43
+ "name": "Food Truck",
44
+ "pluralName": "Food Trucks",
45
+ "shortName": "Street Food",
46
+ "icon": {
47
+ "prefix": "https://foursquare.com/img/categories_v2/food/streetfood_",
48
+ "suffix": ".png"
49
+ },
50
+ "primary": true
51
+ }
52
+ ],
53
+ "verified": false,
54
+ "stats": {
55
+ "checkinsCount": 4113,
56
+ "usersCount": 1924,
57
+ "tipCount": 58
58
+ },
59
+ "likes": {
60
+ "count": 19,
61
+ "groups": [
62
+ {
63
+ "type": "others",
64
+ "count": 19,
65
+ "items": []
66
+ }
67
+ ],
68
+ "summary": "19 likes"
69
+ },
70
+ "like": false,
71
+ "beenHere": {
72
+ "count": 1,
73
+ "marked": false
74
+ },
75
+ "specials": {
76
+ "count": 0
77
+ }
78
+ },
79
+ "likes": {
80
+ "count": 0,
81
+ "groups": []
82
+ },
83
+ "like": false,
84
+ "photos": {
85
+ "count": 0,
86
+ "items": []
87
+ },
88
+ "comments": {
89
+ "count": 0,
90
+ "items": []
91
+ },
92
+ "source": {
93
+ "name": "GeoGraph",
94
+ "url": "http://geographapp.com/"
95
+ }
96
+ },
97
+ {
98
+ "id": "50c00be3e4b013cc7403fcd4",
99
+ "createdAt": 1354763235,
100
+ "type": "checkin",
101
+ "timeZoneOffset": -300,
102
+ "venue": {
103
+ "id": "4a1de847f964a520aa7b1fe3",
104
+ "name": "Red Mango",
105
+ "contact": {
106
+ "phone": "2122907650",
107
+ "formattedPhone": "(212) 290-7650",
108
+ "twitter": "redmango"
109
+ },
110
+ "location": {
111
+ "address": "11 West 32nd St.",
112
+ "crossStreet": "btwn Broadway & 5th Ave.",
113
+ "lat": 40.74763188753914,
114
+ "lng": -73.98638613123016,
115
+ "postalCode": "10001",
116
+ "city": "New York",
117
+ "state": "NY",
118
+ "country": "United States",
119
+ "cc": "US"
120
+ },
121
+ "categories": [
122
+ {
123
+ "id": "4bf58dd8d48988d1c9941735",
124
+ "name": "Ice Cream Shop",
125
+ "pluralName": "Ice Cream Shops",
126
+ "shortName": "Ice Cream",
127
+ "icon": {
128
+ "prefix": "https://foursquare.com/img/categories_v2/food/icecream_",
129
+ "suffix": ".png"
130
+ },
131
+ "primary": true
132
+ }
133
+ ],
134
+ "verified": true,
135
+ "stats": {
136
+ "checkinsCount": 3529,
137
+ "usersCount": 2370,
138
+ "tipCount": 28
139
+ },
140
+ "url": "http://www.redmangousa.com",
141
+ "likes": {
142
+ "count": 9,
143
+ "groups": [
144
+ {
145
+ "type": "others",
146
+ "count": 9,
147
+ "items": [
148
+ {
149
+ "id": "38849733",
150
+ "firstName": "Goksu",
151
+ "lastName": "G.",
152
+ "photo": {
153
+ "prefix": "https://irs0.4sqi.net/img/user/",
154
+ "suffix": "/3W4PKWXPSI3Z2RVB.jpg"
155
+ }
156
+ },
157
+ {
158
+ "id": "37065470",
159
+ "firstName": "Carolina",
160
+ "lastName": "A.",
161
+ "photo": {
162
+ "prefix": "https://irs2.4sqi.net/img/user/",
163
+ "suffix": "/blank_girl.png"
164
+ }
165
+ },
166
+ {
167
+ "id": "22130605",
168
+ "firstName": "Jenny",
169
+ "lastName": "K.",
170
+ "photo": {
171
+ "prefix": "https://irs3.4sqi.net/img/user/",
172
+ "suffix": "/4HNCX2SYG2VVFMOT.jpg"
173
+ }
174
+ },
175
+ {
176
+ "id": "697507",
177
+ "firstName": "Benjamin",
178
+ "lastName": "S.",
179
+ "photo": {
180
+ "prefix": "https://irs3.4sqi.net/img/user/",
181
+ "suffix": "/2XN5LVK3XHGCI4WA.jpg"
182
+ }
183
+ }
184
+ ]
185
+ }
186
+ ],
187
+ "summary": "Goksu G, Carolina A, Jenny K & 6 others"
188
+ },
189
+ "like": false,
190
+ "beenHere": {
191
+ "count": 1,
192
+ "marked": false
193
+ },
194
+ "specials": {
195
+ "count": 0
196
+ }
197
+ },
198
+ "likes": {
199
+ "count": 0,
200
+ "groups": []
201
+ },
202
+ "like": false,
203
+ "photos": {
204
+ "count": 0,
205
+ "items": []
206
+ },
207
+ "comments": {
208
+ "count": 0,
209
+ "items": []
210
+ },
211
+ "source": {
212
+ "name": "tracker test app 2",
213
+ "url": "http://localhost:3000"
214
+ }
215
+ },
216
+ {
217
+ "id": "50c002b1e4b06a4d3fcc5349",
218
+ "createdAt": 1354760881,
219
+ "type": "checkin",
220
+ "timeZoneOffset": -300,
221
+ "venue": {
222
+ "id": "4d9f8d97a428a1cdd92acb04",
223
+ "name": "Parm",
224
+ "contact": {
225
+ "phone": "2129937189",
226
+ "formattedPhone": "(212) 993-7189"
227
+ },
228
+ "location": {
229
+ "address": "248 Mulberry St.",
230
+ "crossStreet": "btwn Prince & Spring St.",
231
+ "lat": 40.723019825,
232
+ "lng": -73.995854,
233
+ "postalCode": "10012",
234
+ "city": "New York",
235
+ "state": "NY",
236
+ "country": "United States",
237
+ "cc": "US"
238
+ },
239
+ "categories": [
240
+ {
241
+ "id": "4bf58dd8d48988d110941735",
242
+ "name": "Italian Restaurant",
243
+ "pluralName": "Italian Restaurants",
244
+ "shortName": "Italian",
245
+ "icon": {
246
+ "prefix": "https://foursquare.com/img/categories_v2/food/italian_",
247
+ "suffix": ".png"
248
+ },
249
+ "primary": true
250
+ }
251
+ ],
252
+ "verified": false,
253
+ "stats": {
254
+ "checkinsCount": 6514,
255
+ "usersCount": 4038,
256
+ "tipCount": 147
257
+ },
258
+ "url": "http://www.parmnyc.com",
259
+ "likes": {
260
+ "count": 79,
261
+ "groups": [
262
+ {
263
+ "type": "others",
264
+ "count": 79,
265
+ "items": []
266
+ }
267
+ ],
268
+ "summary": "79 likes"
269
+ },
270
+ "like": false,
271
+ "menu": {
272
+ "type": "foodAndBeverage",
273
+ "url": "https://foursquare.com/v/parm/4d9f8d97a428a1cdd92acb04/menu",
274
+ "mobileUrl": "https://foursquare.com/v/4d9f8d97a428a1cdd92acb04/device_menu"
275
+ },
276
+ "beenHere": {
277
+ "count": 1,
278
+ "marked": false
279
+ },
280
+ "specials": {
281
+ "count": 0
282
+ }
283
+ },
284
+ "likes": {
285
+ "count": 0,
286
+ "groups": []
287
+ },
288
+ "like": false,
289
+ "photos": {
290
+ "count": 0,
291
+ "items": []
292
+ },
293
+ "comments": {
294
+ "count": 0,
295
+ "items": []
296
+ },
297
+ "source": {
298
+ "name": "GeoGraph",
299
+ "url": "http://geographapp.com/"
300
+ }
301
+ },
302
+ {
303
+ "id": "50be14f1e4b0532c3ae223d3",
304
+ "createdAt": 1354634481,
305
+ "type": "checkin",
306
+ "timeZoneOffset": -300,
307
+ "venue": {
308
+ "id": "506a4ca93950fb884c1a399c",
309
+ "name": "Melt Shop",
310
+ "contact": {
311
+ "twitter": "melt_shop"
312
+ },
313
+ "location": {
314
+ "address": "55 W 26th St",
315
+ "crossStreet": "at 6th Ave",
316
+ "lat": 40.74460714100382,
317
+ "lng": -73.99074196815491,
318
+ "postalCode": "10010",
319
+ "city": "New York",
320
+ "state": "NY",
321
+ "country": "United States",
322
+ "cc": "US"
323
+ },
324
+ "categories": [
325
+ {
326
+ "id": "4bf58dd8d48988d1c5941735",
327
+ "name": "Sandwich Place",
328
+ "pluralName": "Sandwich Places",
329
+ "shortName": "Sandwiches",
330
+ "icon": {
331
+ "prefix": "https://foursquare.com/img/categories_v2/food/sandwiches_",
332
+ "suffix": ".png"
333
+ },
334
+ "primary": true
335
+ }
336
+ ],
337
+ "verified": true,
338
+ "stats": {
339
+ "checkinsCount": 932,
340
+ "usersCount": 681,
341
+ "tipCount": 21
342
+ },
343
+ "likes": {
344
+ "count": 15,
345
+ "groups": [
346
+ {
347
+ "type": "others",
348
+ "count": 15,
349
+ "items": []
350
+ }
351
+ ],
352
+ "summary": "15 likes"
353
+ },
354
+ "like": false,
355
+ "beenHere": {
356
+ "count": 4,
357
+ "marked": false
358
+ },
359
+ "specials": {
360
+ "count": 0
361
+ }
362
+ },
363
+ "likes": {
364
+ "count": 0,
365
+ "groups": []
366
+ },
367
+ "like": false,
368
+ "photos": {
369
+ "count": 0,
370
+ "items": []
371
+ },
372
+ "comments": {
373
+ "count": 0,
374
+ "items": []
375
+ },
376
+ "source": {
377
+ "name": "GeoGraph",
378
+ "url": "http://geographapp.com/"
379
+ }
380
+ },
381
+ {
382
+ "id": "50bd9248e4b01ff36d613143",
383
+ "createdAt": 1354601032,
384
+ "type": "checkin",
385
+ "timeZoneOffset": -300,
386
+ "venue": {
387
+ "id": "44dc96e4f964a520b0361fe3",
388
+ "name": "Think Coffee",
389
+ "contact": {
390
+ "phone": "2122286226",
391
+ "formattedPhone": "(212) 228-6226",
392
+ "twitter": "thinkcoffeenyc"
393
+ },
394
+ "location": {
395
+ "address": "248 Mercer St",
396
+ "crossStreet": "btwn W 3rd & W 4th St",
397
+ "lat": 40.72828321132057,
398
+ "lng": -73.99559140205383,
399
+ "postalCode": "10012",
400
+ "city": "New York",
401
+ "state": "NY",
402
+ "country": "United States",
403
+ "cc": "US"
404
+ },
405
+ "categories": [
406
+ {
407
+ "id": "4bf58dd8d48988d1e0931735",
408
+ "name": "Coffee Shop",
409
+ "pluralName": "Coffee Shops",
410
+ "shortName": "Coffee Shop",
411
+ "icon": {
412
+ "prefix": "https://foursquare.com/img/categories_v2/food/coffeeshop_",
413
+ "suffix": ".png"
414
+ },
415
+ "primary": true
416
+ }
417
+ ],
418
+ "verified": true,
419
+ "stats": {
420
+ "checkinsCount": 20160,
421
+ "usersCount": 7391,
422
+ "tipCount": 173
423
+ },
424
+ "url": "http://thinkcoffeenyc.com",
425
+ "likes": {
426
+ "count": 42,
427
+ "groups": [
428
+ {
429
+ "type": "others",
430
+ "count": 42,
431
+ "items": []
432
+ }
433
+ ],
434
+ "summary": "42 likes"
435
+ },
436
+ "like": false,
437
+ "beenHere": {
438
+ "count": 1,
439
+ "marked": false
440
+ },
441
+ "specials": {
442
+ "count": 0
443
+ }
444
+ },
445
+ "likes": {
446
+ "count": 0,
447
+ "groups": []
448
+ },
449
+ "like": false,
450
+ "photos": {
451
+ "count": 0,
452
+ "items": []
453
+ },
454
+ "comments": {
455
+ "count": 0,
456
+ "items": []
457
+ },
458
+ "source": {
459
+ "name": "tracker test app 2",
460
+ "url": "http://localhost:3000"
461
+ }
462
+ },
463
+ {
464
+ "id": "50bd611fe4b027c60b8224fe",
465
+ "createdAt": 1354588447,
466
+ "type": "checkin",
467
+ "timeZoneOffset": -300,
468
+ "venue": {
469
+ "id": "4cdac2d7a1bba35d21a090e5",
470
+ "name": "2 Bros. Pizza",
471
+ "contact": {},
472
+ "location": {
473
+ "address": "755 6th Ave",
474
+ "crossStreet": "at W 25th St.",
475
+ "lat": 40.74419837088426,
476
+ "lng": -73.99190127410492,
477
+ "postalCode": "10010",
478
+ "city": "New York",
479
+ "state": "NY",
480
+ "country": "United States",
481
+ "cc": "US"
482
+ },
483
+ "categories": [
484
+ {
485
+ "id": "4bf58dd8d48988d1ca941735",
486
+ "name": "Pizza Place",
487
+ "pluralName": "Pizza Places",
488
+ "shortName": "Pizza",
489
+ "icon": {
490
+ "prefix": "https://foursquare.com/img/categories_v2/food/pizza_",
491
+ "suffix": ".png"
492
+ },
493
+ "primary": true
494
+ }
495
+ ],
496
+ "verified": false,
497
+ "stats": {
498
+ "checkinsCount": 5292,
499
+ "usersCount": 2589,
500
+ "tipCount": 75
501
+ },
502
+ "likes": {
503
+ "count": 4,
504
+ "groups": [
505
+ {
506
+ "type": "others",
507
+ "count": 4,
508
+ "items": [
509
+ {
510
+ "id": "4174003",
511
+ "firstName": "D",
512
+ "lastName": "S.",
513
+ "photo": {
514
+ "prefix": "https://irs0.4sqi.net/img/user/",
515
+ "suffix": "/ZLBAK1CVRWTTMSYY.jpg"
516
+ }
517
+ },
518
+ {
519
+ "id": "5236774",
520
+ "firstName": "richard",
521
+ "lastName": "e.",
522
+ "photo": {
523
+ "prefix": "https://irs2.4sqi.net/img/user/",
524
+ "suffix": "/4ITKIMFABJ3BABCS.jpg"
525
+ }
526
+ },
527
+ {
528
+ "id": "2361641",
529
+ "firstName": "Stephanie",
530
+ "lastName": "F.",
531
+ "photo": {
532
+ "prefix": "https://irs2.4sqi.net/img/user/",
533
+ "suffix": "/RHJZ5OIR5O3RP2O2.jpg"
534
+ }
535
+ },
536
+ {
537
+ "id": "7527377",
538
+ "firstName": "BRANDON",
539
+ "lastName": "F.",
540
+ "photo": {
541
+ "prefix": "https://irs0.4sqi.net/img/user/",
542
+ "suffix": "/OJW3GIF1P3TN0NPN.jpg"
543
+ }
544
+ }
545
+ ]
546
+ }
547
+ ],
548
+ "summary": "D S, richard e, Stephanie F & BRANDON F"
549
+ },
550
+ "like": false,
551
+ "beenHere": {
552
+ "count": 1,
553
+ "marked": false
554
+ },
555
+ "specials": {
556
+ "count": 0
557
+ }
558
+ },
559
+ "likes": {
560
+ "count": 0,
561
+ "groups": []
562
+ },
563
+ "like": false,
564
+ "photos": {
565
+ "count": 0,
566
+ "items": []
567
+ },
568
+ "comments": {
569
+ "count": 0,
570
+ "items": []
571
+ },
572
+ "source": {
573
+ "name": "GeoGraph",
574
+ "url": "http://geographapp.com/"
575
+ }
576
+ },
577
+ {
578
+ "id": "50bcbb04e4b060d01a0c5173",
579
+ "createdAt": 1354545924,
580
+ "type": "checkin",
581
+ "timeZoneOffset": -300,
582
+ "venue": {
583
+ "id": "3fd66200f964a52084e51ee3",
584
+ "name": "Eisenberg's Sandwich Shop",
585
+ "contact": {
586
+ "phone": "2126755096",
587
+ "formattedPhone": "(212) 675-5096"
588
+ },
589
+ "location": {
590
+ "address": "174 5th Ave.",
591
+ "crossStreet": "btwn 22nd & 23rd St.",
592
+ "lat": 40.74088420686416,
593
+ "lng": -73.98983001708984,
594
+ "postalCode": "10010",
595
+ "city": "New York",
596
+ "state": "NY",
597
+ "country": "United States",
598
+ "cc": "US"
599
+ },
600
+ "categories": [
601
+ {
602
+ "id": "4bf58dd8d48988d147941735",
603
+ "name": "Diner",
604
+ "pluralName": "Diners",
605
+ "shortName": "Diner",
606
+ "icon": {
607
+ "prefix": "https://foursquare.com/img/categories_v2/food/diner_",
608
+ "suffix": ".png"
609
+ },
610
+ "primary": true
611
+ }
612
+ ],
613
+ "verified": true,
614
+ "stats": {
615
+ "checkinsCount": 5757,
616
+ "usersCount": 3134,
617
+ "tipCount": 91
618
+ },
619
+ "url": "http://www.eisenbergsnyc.com",
620
+ "likes": {
621
+ "count": 14,
622
+ "groups": [
623
+ {
624
+ "type": "others",
625
+ "count": 14,
626
+ "items": []
627
+ }
628
+ ],
629
+ "summary": "14 likes"
630
+ },
631
+ "like": false,
632
+ "menu": {
633
+ "type": "foodAndBeverage",
634
+ "url": "https://foursquare.com/v/eisenbergs-sandwich-shop/3fd66200f964a52084e51ee3/menu",
635
+ "mobileUrl": "https://foursquare.com/v/3fd66200f964a52084e51ee3/device_menu"
636
+ },
637
+ "beenHere": {
638
+ "count": 1,
639
+ "marked": false
640
+ },
641
+ "specials": {
642
+ "count": 0
643
+ },
644
+ "venuePage": {
645
+ "id": "39674283"
646
+ }
647
+ },
648
+ "likes": {
649
+ "count": 0,
650
+ "groups": []
651
+ },
652
+ "like": false,
653
+ "photos": {
654
+ "count": 0,
655
+ "items": []
656
+ },
657
+ "comments": {
658
+ "count": 0,
659
+ "items": []
660
+ },
661
+ "source": {
662
+ "name": "tracker test app 2",
663
+ "url": "http://localhost:3000"
664
+ }
665
+ },
666
+ {
667
+ "id": "50bcb887e4b07b04b52f0ad0",
668
+ "createdAt": 1354545287,
669
+ "type": "checkin",
670
+ "timeZoneOffset": -300,
671
+ "venue": {
672
+ "id": "49a5746cf964a5209c521fe3",
673
+ "name": "'wichcraft",
674
+ "contact": {
675
+ "phone": "2127800577",
676
+ "formattedPhone": "(212) 780-0577",
677
+ "twitter": "wichcraft"
678
+ },
679
+ "location": {
680
+ "address": "11 E 20th St.",
681
+ "crossStreet": "btwn Broadway & 5th Ave.",
682
+ "lat": 40.73938649106766,
683
+ "lng": -73.99018534133084,
684
+ "postalCode": "10003",
685
+ "city": "New York",
686
+ "state": "NY",
687
+ "country": "United States",
688
+ "cc": "US"
689
+ },
690
+ "categories": [
691
+ {
692
+ "id": "4bf58dd8d48988d1c5941735",
693
+ "name": "Sandwich Place",
694
+ "pluralName": "Sandwich Places",
695
+ "shortName": "Sandwiches",
696
+ "icon": {
697
+ "prefix": "https://foursquare.com/img/categories_v2/food/sandwiches_",
698
+ "suffix": ".png"
699
+ },
700
+ "primary": true
701
+ }
702
+ ],
703
+ "verified": true,
704
+ "stats": {
705
+ "checkinsCount": 7911,
706
+ "usersCount": 3004,
707
+ "tipCount": 55
708
+ },
709
+ "url": "http://wichcraftnyc.com",
710
+ "likes": {
711
+ "count": 20,
712
+ "groups": [
713
+ {
714
+ "type": "others",
715
+ "count": 20,
716
+ "items": []
717
+ }
718
+ ],
719
+ "summary": "20 likes"
720
+ },
721
+ "like": false,
722
+ "menu": {
723
+ "type": "foodAndBeverage",
724
+ "url": "https://foursquare.com/v/wichcraft/49a5746cf964a5209c521fe3/menu",
725
+ "mobileUrl": "https://foursquare.com/v/49a5746cf964a5209c521fe3/device_menu"
726
+ },
727
+ "beenHere": {
728
+ "count": 1,
729
+ "marked": false
730
+ },
731
+ "specials": {
732
+ "count": 0
733
+ }
734
+ },
735
+ "likes": {
736
+ "count": 0,
737
+ "groups": []
738
+ },
739
+ "like": false,
740
+ "photos": {
741
+ "count": 0,
742
+ "items": []
743
+ },
744
+ "comments": {
745
+ "count": 0,
746
+ "items": []
747
+ },
748
+ "source": {
749
+ "name": "tracker test app 2",
750
+ "url": "http://localhost:3000"
751
+ }
752
+ },
753
+ {
754
+ "id": "50bc2c77e4b07b04b4d6113b",
755
+ "createdAt": 1354509431,
756
+ "type": "checkin",
757
+ "timeZoneOffset": -300,
758
+ "venue": {
759
+ "id": "4cddef36aba88cfa8e473ed7",
760
+ "name": "Duane Reade",
761
+ "contact": {
762
+ "phone": "2126436090",
763
+ "formattedPhone": "(212) 643-6090"
764
+ },
765
+ "location": {
766
+ "address": "455 W 37th St.",
767
+ "crossStreet": "at 10th Ave.",
768
+ "lat": 40.75689215781819,
769
+ "lng": -73.99738848209381,
770
+ "postalCode": "10018",
771
+ "city": "New York",
772
+ "state": "NY",
773
+ "country": "United States",
774
+ "cc": "US"
775
+ },
776
+ "categories": [
777
+ {
778
+ "id": "4bf58dd8d48988d10f951735",
779
+ "name": "Drugstore / Pharmacy",
780
+ "pluralName": "Drugstores / Pharmacies",
781
+ "shortName": "Pharmacy",
782
+ "icon": {
783
+ "prefix": "https://foursquare.com/img/categories_v2/shops/pharmacy_",
784
+ "suffix": ".png"
785
+ },
786
+ "primary": true
787
+ }
788
+ ],
789
+ "verified": true,
790
+ "stats": {
791
+ "checkinsCount": 2130,
792
+ "usersCount": 508,
793
+ "tipCount": 10
794
+ },
795
+ "url": "http://www.walgreens.com/locator/duane-reade-455-w-37th-st-new-york-ny-10018/id=14433",
796
+ "likes": {
797
+ "count": 0,
798
+ "groups": []
799
+ },
800
+ "like": false,
801
+ "beenHere": {
802
+ "count": 1,
803
+ "marked": false
804
+ },
805
+ "specials": {
806
+ "count": 0
807
+ }
808
+ },
809
+ "likes": {
810
+ "count": 0,
811
+ "groups": []
812
+ },
813
+ "like": false,
814
+ "photos": {
815
+ "count": 0,
816
+ "items": []
817
+ },
818
+ "comments": {
819
+ "count": 0,
820
+ "items": []
821
+ },
822
+ "source": {
823
+ "name": "tracker test app 2",
824
+ "url": "http://localhost:3000"
825
+ }
826
+ },
827
+ {
828
+ "id": "50bc1c59e4b0f8ce76cfbc28",
829
+ "createdAt": 1354505305,
830
+ "type": "checkin",
831
+ "timeZoneOffset": -300,
832
+ "venue": {
833
+ "id": "448acb74f964a52048341fe3",
834
+ "name": "Pies 'n' Thighs",
835
+ "contact": {
836
+ "phone": "3475296090",
837
+ "formattedPhone": "(347) 529-6090",
838
+ "twitter": "piesnthighs"
839
+ },
840
+ "location": {
841
+ "address": "166 S 4th St",
842
+ "crossStreet": "at Driggs Ave",
843
+ "lat": 40.711269048403715,
844
+ "lng": -73.96146558382536,
845
+ "postalCode": "11211",
846
+ "city": "Brooklyn",
847
+ "state": "NY",
848
+ "country": "United States",
849
+ "cc": "US"
850
+ },
851
+ "categories": [
852
+ {
853
+ "id": "4d4ae6fc7a7b7dea34424761",
854
+ "name": "Fried Chicken Joint",
855
+ "pluralName": "Fried Chicken Joints",
856
+ "shortName": "Fried Chicken",
857
+ "icon": {
858
+ "prefix": "https://foursquare.com/img/categories_v2/food/friedchicken_",
859
+ "suffix": ".png"
860
+ },
861
+ "primary": true
862
+ }
863
+ ],
864
+ "verified": false,
865
+ "stats": {
866
+ "checkinsCount": 16622,
867
+ "usersCount": 10041,
868
+ "tipCount": 226
869
+ },
870
+ "url": "http://piesnthighs.com",
871
+ "likes": {
872
+ "count": 55,
873
+ "groups": [
874
+ {
875
+ "type": "others",
876
+ "count": 55,
877
+ "items": []
878
+ }
879
+ ],
880
+ "summary": "55 likes"
881
+ },
882
+ "like": false,
883
+ "menu": {
884
+ "type": "foodAndBeverage",
885
+ "url": "https://foursquare.com/v/pies-n-thighs/448acb74f964a52048341fe3/menu",
886
+ "mobileUrl": "https://foursquare.com/v/448acb74f964a52048341fe3/device_menu"
887
+ },
888
+ "beenHere": {
889
+ "count": 1,
890
+ "marked": false
891
+ },
892
+ "specials": {
893
+ "count": 0
894
+ }
895
+ },
896
+ "likes": {
897
+ "count": 0,
898
+ "groups": []
899
+ },
900
+ "like": false,
901
+ "photos": {
902
+ "count": 0,
903
+ "items": []
904
+ },
905
+ "comments": {
906
+ "count": 0,
907
+ "items": []
908
+ },
909
+ "source": {
910
+ "name": "GeoGraph",
911
+ "url": "http://geographapp.com/"
912
+ }
913
+ }
914
+ ]
915
+ }
916
+ }
917
+ }