crowdkit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +16 -0
  5. data/Gemfile.lock +97 -0
  6. data/LICENSE.txt +20 -0
  7. data/README.md +178 -0
  8. data/Rakefile +54 -0
  9. data/VERSION +1 -0
  10. data/crowdkit.gemspec +122 -0
  11. data/lib/crowdkit.rb +77 -0
  12. data/lib/crowdkit/api.rb +171 -0
  13. data/lib/crowdkit/api/arguments.rb +187 -0
  14. data/lib/crowdkit/api/factory.rb +29 -0
  15. data/lib/crowdkit/api/request_methods.rb +70 -0
  16. data/lib/crowdkit/api/response_wrapper.rb +122 -0
  17. data/lib/crowdkit/client.rb +36 -0
  18. data/lib/crowdkit/client/account.rb +7 -0
  19. data/lib/crowdkit/client/jobs.rb +56 -0
  20. data/lib/crowdkit/client/judgments.rb +9 -0
  21. data/lib/crowdkit/client/poll.rb +48 -0
  22. data/lib/crowdkit/client/statuses.rb +14 -0
  23. data/lib/crowdkit/client/units.rb +54 -0
  24. data/lib/crowdkit/client/workers.rb +13 -0
  25. data/lib/crowdkit/client/worksets.rb +27 -0
  26. data/lib/crowdkit/config.rb +62 -0
  27. data/lib/crowdkit/core_ext/array.rb +7 -0
  28. data/lib/crowdkit/core_ext/hash.rb +30 -0
  29. data/lib/crowdkit/core_ext/sawyer.rb +7 -0
  30. data/lib/crowdkit/error.rb +198 -0
  31. data/lib/crowdkit/middleware/raise_error.rb +14 -0
  32. data/lib/crowdkit/ssl_certs/cacerts.pem +3868 -0
  33. data/lib/crowdkit/version.rb +3 -0
  34. data/spec/crowdkit/client/account_spec.rb +19 -0
  35. data/spec/crowdkit/client/jobs_spec.rb +275 -0
  36. data/spec/crowdkit/client/judgments_spec.rb +30 -0
  37. data/spec/crowdkit/client/statuses_spec.rb +30 -0
  38. data/spec/crowdkit/client/units_spec.rb +266 -0
  39. data/spec/crowdkit/client/workers_spec.rb +33 -0
  40. data/spec/crowdkit/client/worksets_spec.rb +113 -0
  41. data/spec/crowdkit/client_spec.rb +55 -0
  42. data/spec/crowdkit_spec.rb +139 -0
  43. data/spec/fixtures/account.json +7 -0
  44. data/spec/fixtures/jobs/copy.json +79 -0
  45. data/spec/fixtures/jobs/job.json +1 -0
  46. data/spec/fixtures/jobs/order.json +53 -0
  47. data/spec/fixtures/jobs/search.json +1 -0
  48. data/spec/fixtures/judgments/index.json +46 -0
  49. data/spec/fixtures/judgments/show.json +16 -0
  50. data/spec/fixtures/root.json +1 -0
  51. data/spec/fixtures/statuses/index.json +25 -0
  52. data/spec/fixtures/statuses/status.json +12 -0
  53. data/spec/fixtures/units/copy.json +34 -0
  54. data/spec/fixtures/units/index.json +1502 -0
  55. data/spec/fixtures/units/poll/normal.json +902 -0
  56. data/spec/fixtures/units/poll/small.json +602 -0
  57. data/spec/fixtures/units/show.json +34 -0
  58. data/spec/fixtures/upload.csv +25 -0
  59. data/spec/fixtures/worksets/index.json +20 -0
  60. data/spec/fixtures/worksets/show.json +9 -0
  61. data/spec/spec_helper.rb +53 -0
  62. data/spec/support/base.rb +11 -0
  63. metadata +218 -0
@@ -0,0 +1,602 @@
1
+ [
2
+ {
3
+ "state": "new",
4
+ "id": 48009,
5
+ "job": {
6
+ "id": 10
7
+ },
8
+ "total_judgments_count": 0,
9
+ "data": {
10
+ "broken_private": "",
11
+ "event_category_gold": null,
12
+ "_golden": "false",
13
+ "broken_privateconfidence": "1.0",
14
+ "event_id": "423938010",
15
+ "_canary": null,
16
+ "event_category": "Business & Professional > Career",
17
+ "event_url": "http:\/\/www.eventbrite.com\/e\/423938010",
18
+ "_unit_state": "finalized",
19
+ "event_categoryconfidence": "0.5093",
20
+ "_trusted_judgments": "4",
21
+ "event_category_id": "32\n28",
22
+ "_last_judgment_at": "3\/28\/2014 21:17:57",
23
+ "event_category_idconfidence": "1.5332\n0.7548",
24
+ "_unit_id": "435923669"
25
+ },
26
+ "_links": {
27
+ "self": {
28
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48009"
29
+ }
30
+ }
31
+ },
32
+ {
33
+ "state": "new",
34
+ "id": 48010,
35
+ "job": {
36
+ "id": 10
37
+ },
38
+ "total_judgments_count": 0,
39
+ "data": {
40
+ "broken_private": "",
41
+ "event_category_gold": null,
42
+ "_golden": "false",
43
+ "broken_privateconfidence": "1.0",
44
+ "event_id": "434140526",
45
+ "_canary": null,
46
+ "event_category": "Business & Professional > Other",
47
+ "event_url": "http:\/\/www.eventbrite.com\/e\/434140526",
48
+ "_unit_state": "finalized",
49
+ "event_categoryconfidence": "1.0",
50
+ "_trusted_judgments": "3",
51
+ "event_category_id": "33",
52
+ "_last_judgment_at": "3\/26\/2014 02:12:59",
53
+ "event_category_idconfidence": "2.487",
54
+ "_unit_id": "435923670"
55
+ },
56
+ "_links": {
57
+ "self": {
58
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48010"
59
+ }
60
+ }
61
+ },
62
+ {
63
+ "state": "new",
64
+ "id": 48011,
65
+ "job": {
66
+ "id": 10
67
+ },
68
+ "total_judgments_count": 0,
69
+ "data": {
70
+ "broken_private": "",
71
+ "event_category_gold": null,
72
+ "_golden": "false",
73
+ "broken_privateconfidence": "1.0",
74
+ "event_id": "439955920",
75
+ "_canary": null,
76
+ "event_category": "Food & Drink > Food",
77
+ "event_url": "http:\/\/www.eventbrite.com\/e\/439955920",
78
+ "_unit_state": "finalized",
79
+ "event_categoryconfidence": "0.6577",
80
+ "_trusted_judgments": "3",
81
+ "event_category_id": "121\n25",
82
+ "_last_judgment_at": "3\/30\/2014 16:50:49",
83
+ "event_category_idconfidence": "1.6567\n0.8621",
84
+ "_unit_id": "435923671"
85
+ },
86
+ "_links": {
87
+ "self": {
88
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48011"
89
+ }
90
+ }
91
+ },
92
+ {
93
+ "state": "new",
94
+ "id": 48012,
95
+ "job": {
96
+ "id": 10
97
+ },
98
+ "total_judgments_count": 0,
99
+ "data": {
100
+ "broken_private": "",
101
+ "event_category_gold": null,
102
+ "_golden": "false",
103
+ "broken_privateconfidence": "1.0",
104
+ "event_id": "440765341",
105
+ "_canary": null,
106
+ "event_category": "Charity & Causes > Healthcare",
107
+ "event_url": "http:\/\/www.eventbrite.com\/e\/440765341",
108
+ "_unit_state": "finalized",
109
+ "event_categoryconfidence": "0.7021",
110
+ "_trusted_judgments": "3",
111
+ "event_category_id": "126\n72",
112
+ "_last_judgment_at": "3\/28\/2014 13:50:09",
113
+ "event_category_idconfidence": "1.6556\n0.7025",
114
+ "_unit_id": "435923672"
115
+ },
116
+ "_links": {
117
+ "self": {
118
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48012"
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "state": "new",
124
+ "id": 48013,
125
+ "job": {
126
+ "id": 10
127
+ },
128
+ "total_judgments_count": 0,
129
+ "data": {
130
+ "broken_private": "",
131
+ "event_category_gold": null,
132
+ "_golden": "false",
133
+ "broken_privateconfidence": "1.0",
134
+ "event_id": "443361105",
135
+ "_canary": null,
136
+ "event_category": "Music > Other",
137
+ "event_url": "http:\/\/www.eventbrite.com\/e\/443361105",
138
+ "_unit_state": "finalized",
139
+ "event_categoryconfidence": "0.3626",
140
+ "_trusted_judgments": "3",
141
+ "event_category_id": "60\n51",
142
+ "_last_judgment_at": "3\/24\/2014 14:26:48",
143
+ "event_category_idconfidence": "0.8452\n0.7727",
144
+ "_unit_id": "435923673"
145
+ },
146
+ "_links": {
147
+ "self": {
148
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48013"
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "state": "new",
154
+ "id": 48014,
155
+ "job": {
156
+ "id": 10
157
+ },
158
+ "total_judgments_count": 0,
159
+ "data": {
160
+ "broken_private": "true",
161
+ "event_category_gold": null,
162
+ "_golden": "false",
163
+ "broken_privateconfidence": "1.0",
164
+ "event_id": "448569684",
165
+ "_canary": null,
166
+ "event_category": null,
167
+ "event_url": "http:\/\/www.eventbrite.com\/e\/448569684",
168
+ "_unit_state": "finalized",
169
+ "event_categoryconfidence": "0.0",
170
+ "_trusted_judgments": "4",
171
+ "event_category_id": "",
172
+ "_last_judgment_at": "3\/28\/2014 06:39:18",
173
+ "event_category_idconfidence": "3.2824",
174
+ "_unit_id": "435923674"
175
+ },
176
+ "_links": {
177
+ "self": {
178
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48014"
179
+ }
180
+ }
181
+ },
182
+ {
183
+ "state": "new",
184
+ "id": 48015,
185
+ "job": {
186
+ "id": 10
187
+ },
188
+ "total_judgments_count": 0,
189
+ "data": {
190
+ "broken_private": "",
191
+ "event_category_gold": null,
192
+ "_golden": "false",
193
+ "broken_privateconfidence": "1.0",
194
+ "event_id": "449370078",
195
+ "_canary": null,
196
+ "event_category": "Travel & Outdoor > Travel",
197
+ "event_url": "http:\/\/www.eventbrite.com\/e\/449370078",
198
+ "_unit_state": "finalized",
199
+ "event_categoryconfidence": "1.0",
200
+ "_trusted_judgments": "3",
201
+ "event_category_id": "117",
202
+ "_last_judgment_at": "3\/28\/2014 21:58:11",
203
+ "event_category_idconfidence": "2.2586",
204
+ "_unit_id": "435923675"
205
+ },
206
+ "_links": {
207
+ "self": {
208
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48015"
209
+ }
210
+ }
211
+ },
212
+ {
213
+ "state": "new",
214
+ "id": 48016,
215
+ "job": {
216
+ "id": 10
217
+ },
218
+ "total_judgments_count": 0,
219
+ "data": {
220
+ "broken_private": "",
221
+ "event_category_gold": null,
222
+ "_golden": "false",
223
+ "broken_privateconfidence": "1.0",
224
+ "event_id": "453123304",
225
+ "_canary": null,
226
+ "event_category": "Religion & Sprituality > Islam",
227
+ "event_url": "http:\/\/www.eventbrite.com\/e\/453123304",
228
+ "_unit_state": "finalized",
229
+ "event_categoryconfidence": "1.0",
230
+ "_trusted_judgments": "3",
231
+ "event_category_id": "153",
232
+ "_last_judgment_at": "3\/28\/2014 11:20:28",
233
+ "event_category_idconfidence": "2.4048",
234
+ "_unit_id": "435923676"
235
+ },
236
+ "_links": {
237
+ "self": {
238
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48016"
239
+ }
240
+ }
241
+ },
242
+ {
243
+ "state": "new",
244
+ "id": 48017,
245
+ "job": {
246
+ "id": 10
247
+ },
248
+ "total_judgments_count": 0,
249
+ "data": {
250
+ "broken_private": "",
251
+ "event_category_gold": null,
252
+ "_golden": "false",
253
+ "broken_privateconfidence": "1.0",
254
+ "event_id": "457487357",
255
+ "_canary": null,
256
+ "event_category": "Music > Folk",
257
+ "event_url": "http:\/\/www.eventbrite.com\/e\/457487357",
258
+ "_unit_state": "finalized",
259
+ "event_categoryconfidence": "0.6568",
260
+ "_trusted_judgments": "3",
261
+ "event_category_id": "",
262
+ "_last_judgment_at": "3\/29\/2014 07:04:40",
263
+ "event_category_idconfidence": "2.6068",
264
+ "_unit_id": "435923677"
265
+ },
266
+ "_links": {
267
+ "self": {
268
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48017"
269
+ }
270
+ }
271
+ },
272
+ {
273
+ "state": "new",
274
+ "id": 48018,
275
+ "job": {
276
+ "id": 10
277
+ },
278
+ "total_judgments_count": 0,
279
+ "data": {
280
+ "broken_private": "true",
281
+ "event_category_gold": null,
282
+ "_golden": "false",
283
+ "broken_privateconfidence": "1.0",
284
+ "event_id": "457760173",
285
+ "_canary": null,
286
+ "event_category": null,
287
+ "event_url": "http:\/\/www.eventbrite.com\/e\/457760173",
288
+ "_unit_state": "finalized",
289
+ "event_categoryconfidence": "0.0",
290
+ "_trusted_judgments": "3",
291
+ "event_category_id": "",
292
+ "_last_judgment_at": "3\/26\/2014 02:18:11",
293
+ "event_category_idconfidence": "2.4439",
294
+ "_unit_id": "435923678"
295
+ },
296
+ "_links": {
297
+ "self": {
298
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48018"
299
+ }
300
+ }
301
+ },
302
+ {
303
+ "state": "new",
304
+ "id": 48019,
305
+ "job": {
306
+ "id": 10
307
+ },
308
+ "total_judgments_count": 0,
309
+ "data": {
310
+ "broken_private": "",
311
+ "event_category_gold": null,
312
+ "_golden": "false",
313
+ "broken_privateconfidence": "1.0",
314
+ "event_id": "458095175",
315
+ "_canary": null,
316
+ "event_category": "Business & Professional > Other",
317
+ "event_url": "http:\/\/www.eventbrite.com\/e\/458095175",
318
+ "_unit_state": "finalized",
319
+ "event_categoryconfidence": "0.3543",
320
+ "_trusted_judgments": "3",
321
+ "event_category_id": "33\n86",
322
+ "_last_judgment_at": "3\/30\/2014 08:19:15",
323
+ "event_category_idconfidence": "0.8231\n0.8182",
324
+ "_unit_id": "435923679"
325
+ },
326
+ "_links": {
327
+ "self": {
328
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48019"
329
+ }
330
+ }
331
+ },
332
+ {
333
+ "state": "new",
334
+ "id": 48020,
335
+ "job": {
336
+ "id": 10
337
+ },
338
+ "total_judgments_count": 0,
339
+ "data": {
340
+ "broken_private": "",
341
+ "event_category_gold": null,
342
+ "_golden": "false",
343
+ "broken_privateconfidence": "0.6531",
344
+ "event_id": "459095166",
345
+ "_canary": null,
346
+ "event_category": "Other",
347
+ "event_url": "http:\/\/www.eventbrite.com\/e\/459095166",
348
+ "_unit_state": "finalized",
349
+ "event_categoryconfidence": "0.6531",
350
+ "_trusted_judgments": "3",
351
+ "event_category_id": "",
352
+ "_last_judgment_at": "3\/24\/2014 19:49:36",
353
+ "event_category_idconfidence": "2.3422",
354
+ "_unit_id": "435923680"
355
+ },
356
+ "_links": {
357
+ "self": {
358
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48020"
359
+ }
360
+ }
361
+ },
362
+ {
363
+ "state": "new",
364
+ "id": 48021,
365
+ "job": {
366
+ "id": 10
367
+ },
368
+ "total_judgments_count": 0,
369
+ "data": {
370
+ "broken_private": "",
371
+ "event_category_gold": null,
372
+ "_golden": "false",
373
+ "broken_privateconfidence": "1.0",
374
+ "event_id": "459850425",
375
+ "_canary": null,
376
+ "event_category": "Community & Culture > Nationality",
377
+ "event_url": "http:\/\/www.eventbrite.com\/e\/459850425",
378
+ "_unit_state": "finalized",
379
+ "event_categoryconfidence": "0.663",
380
+ "_trusted_judgments": "3",
381
+ "event_category_id": "148\n147",
382
+ "_last_judgment_at": "3\/26\/2014 17:53:43",
383
+ "event_category_idconfidence": "1.6119\n0.8194",
384
+ "_unit_id": "435923681"
385
+ },
386
+ "_links": {
387
+ "self": {
388
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48021"
389
+ }
390
+ }
391
+ },
392
+ {
393
+ "state": "new",
394
+ "id": 48022,
395
+ "job": {
396
+ "id": 10
397
+ },
398
+ "total_judgments_count": 0,
399
+ "data": {
400
+ "broken_private": "",
401
+ "event_category_gold": null,
402
+ "_golden": "false",
403
+ "broken_privateconfidence": "1.0",
404
+ "event_id": "459853434",
405
+ "_canary": null,
406
+ "event_category": "Community & Culture > Heritage",
407
+ "event_url": "http:\/\/www.eventbrite.com\/e\/459853434",
408
+ "_unit_state": "finalized",
409
+ "event_categoryconfidence": "0.6554",
410
+ "_trusted_judgments": "3",
411
+ "event_category_id": "147\n143",
412
+ "_last_judgment_at": "3\/30\/2014 15:48:31",
413
+ "event_category_idconfidence": "1.5565\n0.8182",
414
+ "_unit_id": "435923682"
415
+ },
416
+ "_links": {
417
+ "self": {
418
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48022"
419
+ }
420
+ }
421
+ },
422
+ {
423
+ "state": "new",
424
+ "id": 48023,
425
+ "job": {
426
+ "id": 10
427
+ },
428
+ "total_judgments_count": 0,
429
+ "data": {
430
+ "broken_private": "",
431
+ "event_category_gold": null,
432
+ "_golden": "false",
433
+ "broken_privateconfidence": "1.0",
434
+ "event_id": "466803221",
435
+ "_canary": null,
436
+ "event_category": "Food & Drink > Spirits",
437
+ "event_url": "http:\/\/www.eventbrite.com\/e\/466803221",
438
+ "_unit_state": "finalized",
439
+ "event_categoryconfidence": "0.7047",
440
+ "_trusted_judgments": "3",
441
+ "event_category_id": "122\n121",
442
+ "_last_judgment_at": "3\/28\/2014 17:33:50",
443
+ "event_category_idconfidence": "1.633\n0.6842",
444
+ "_unit_id": "435923683"
445
+ },
446
+ "_links": {
447
+ "self": {
448
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48023"
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "state": "new",
454
+ "id": 48024,
455
+ "job": {
456
+ "id": 10
457
+ },
458
+ "total_judgments_count": 0,
459
+ "data": {
460
+ "broken_private": "",
461
+ "event_category_gold": null,
462
+ "_golden": "false",
463
+ "broken_privateconfidence": "1.0",
464
+ "event_id": "468236508",
465
+ "_canary": null,
466
+ "event_category": "Business & Professional > Small Business",
467
+ "event_url": "http:\/\/www.eventbrite.com\/e\/468236508",
468
+ "_unit_state": "finalized",
469
+ "event_categoryconfidence": "0.3569",
470
+ "_trusted_judgments": "3",
471
+ "event_category_id": "23\n33",
472
+ "_last_judgment_at": "3\/28\/2014 14:42:39",
473
+ "event_category_idconfidence": "0.8774\n0.8121",
474
+ "_unit_id": "435923684"
475
+ },
476
+ "_links": {
477
+ "self": {
478
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48024"
479
+ }
480
+ }
481
+ },
482
+ {
483
+ "state": "new",
484
+ "id": 48025,
485
+ "job": {
486
+ "id": 10
487
+ },
488
+ "total_judgments_count": 0,
489
+ "data": {
490
+ "broken_private": "",
491
+ "event_category_gold": null,
492
+ "_golden": "false",
493
+ "broken_privateconfidence": "1.0",
494
+ "event_id": "469808209",
495
+ "_canary": null,
496
+ "event_category": "Community & Culture > Nationality",
497
+ "event_url": "http:\/\/www.eventbrite.com\/e\/469808209",
498
+ "_unit_state": "finalized",
499
+ "event_categoryconfidence": "0.6939",
500
+ "_trusted_judgments": "3",
501
+ "event_category_id": "",
502
+ "_last_judgment_at": "3\/29\/2014 02:30:50",
503
+ "event_category_idconfidence": "2.1778",
504
+ "_unit_id": "435923685"
505
+ },
506
+ "_links": {
507
+ "self": {
508
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48025"
509
+ }
510
+ }
511
+ },
512
+ {
513
+ "state": "new",
514
+ "id": 48026,
515
+ "job": {
516
+ "id": 10
517
+ },
518
+ "total_judgments_count": 0,
519
+ "data": {
520
+ "broken_private": "",
521
+ "event_category_gold": null,
522
+ "_golden": "false",
523
+ "broken_privateconfidence": "1.0",
524
+ "event_id": "474019806",
525
+ "_canary": null,
526
+ "event_category": "Film, Media & Entertainment > Film",
527
+ "event_url": "http:\/\/www.eventbrite.com\/e\/474019806",
528
+ "_unit_state": "finalized",
529
+ "event_categoryconfidence": "1.0",
530
+ "_trusted_judgments": "3",
531
+ "event_category_id": "62",
532
+ "_last_judgment_at": "3\/30\/2014 11:45:41",
533
+ "event_category_idconfidence": "2.3868",
534
+ "_unit_id": "435923686"
535
+ },
536
+ "_links": {
537
+ "self": {
538
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48026"
539
+ }
540
+ }
541
+ },
542
+ {
543
+ "state": "new",
544
+ "id": 48027,
545
+ "job": {
546
+ "id": 10
547
+ },
548
+ "total_judgments_count": 0,
549
+ "data": {
550
+ "broken_private": "",
551
+ "event_category_gold": null,
552
+ "_golden": "false",
553
+ "broken_privateconfidence": "1.0",
554
+ "event_id": "474979677",
555
+ "_canary": null,
556
+ "event_category": "Business & Professional > Small Business",
557
+ "event_url": "http:\/\/www.eventbrite.com\/e\/474979677",
558
+ "_unit_state": "finalized",
559
+ "event_categoryconfidence": "0.6807",
560
+ "_trusted_judgments": "3",
561
+ "event_category_id": "23\n163",
562
+ "_last_judgment_at": "3\/30\/2014 16:59:14",
563
+ "event_category_idconfidence": "1.4625\n0.6861",
564
+ "_unit_id": "435923687"
565
+ },
566
+ "_links": {
567
+ "self": {
568
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48027"
569
+ }
570
+ }
571
+ },
572
+ {
573
+ "state": "new",
574
+ "id": 48028,
575
+ "job": {
576
+ "id": 10
577
+ },
578
+ "total_judgments_count": 0,
579
+ "data": {
580
+ "broken_private": "",
581
+ "event_category_gold": null,
582
+ "_golden": "false",
583
+ "broken_privateconfidence": "1.0",
584
+ "event_id": "481298577",
585
+ "_canary": null,
586
+ "event_category": "Charity & Causes > Healthcare",
587
+ "event_url": "http:\/\/www.eventbrite.com\/e\/481298577",
588
+ "_unit_state": "finalized",
589
+ "event_categoryconfidence": "0.6637",
590
+ "_trusted_judgments": "3",
591
+ "event_category_id": "126\n67",
592
+ "_last_judgment_at": "3\/26\/2014 11:00:53",
593
+ "event_category_idconfidence": "1.4642\n0.7419",
594
+ "_unit_id": "435923688"
595
+ },
596
+ "_links": {
597
+ "self": {
598
+ "href": "https:\/\/api.crowdflower.dev\/v2\/units\/48028"
599
+ }
600
+ }
601
+ }
602
+ ]