triviacrack 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.travis.yml +19 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +120 -0
- data/Rakefile +7 -0
- data/lib/triviacrack.rb +12 -0
- data/lib/triviacrack/api/client.rb +31 -0
- data/lib/triviacrack/api/common.rb +76 -0
- data/lib/triviacrack/api/game.rb +72 -0
- data/lib/triviacrack/api/login.rb +35 -0
- data/lib/triviacrack/api/profile.rb +44 -0
- data/lib/triviacrack/api/question.rb +43 -0
- data/lib/triviacrack/api/user.rb +56 -0
- data/lib/triviacrack/category_statistics.rb +27 -0
- data/lib/triviacrack/errors/parse_error.rb +7 -0
- data/lib/triviacrack/errors/request_error.rb +18 -0
- data/lib/triviacrack/game.rb +100 -0
- data/lib/triviacrack/game_statistics.rb +35 -0
- data/lib/triviacrack/parsers/category_statistics_parser.rb +45 -0
- data/lib/triviacrack/parsers/game_parser.rb +74 -0
- data/lib/triviacrack/parsers/game_statistics_parser.rb +44 -0
- data/lib/triviacrack/parsers/profile_parser.rb +55 -0
- data/lib/triviacrack/parsers/question_parser.rb +36 -0
- data/lib/triviacrack/parsers/session_parser.rb +36 -0
- data/lib/triviacrack/parsers/time_parser.rb +26 -0
- data/lib/triviacrack/parsers/user_parser.rb +47 -0
- data/lib/triviacrack/profile.rb +96 -0
- data/lib/triviacrack/question.rb +43 -0
- data/lib/triviacrack/session.rb +30 -0
- data/lib/triviacrack/user.rb +91 -0
- data/lib/triviacrack/version.rb +4 -0
- data/spec/api/game_spec.rb +72 -0
- data/spec/api/login_spec.rb +34 -0
- data/spec/api/profile_spec.rb +51 -0
- data/spec/api/question_spec.rb +45 -0
- data/spec/api/user_spec.rb +50 -0
- data/spec/data/answer.json +161 -0
- data/spec/data/dashboard.json +949 -0
- data/spec/data/game.json +147 -0
- data/spec/data/login.json +25 -0
- data/spec/data/my_profile.json +556 -0
- data/spec/data/new_game.json +363 -0
- data/spec/data/profile.json +553 -0
- data/spec/data/question.json +14 -0
- data/spec/data/question_image.json +15 -0
- data/spec/data/search.json +123 -0
- data/spec/data/user.json +25 -0
- data/spec/game_spec.rb +60 -0
- data/spec/parsers/category_statistics_parser_spec.rb +41 -0
- data/spec/parsers/game_parser_spec.rb +114 -0
- data/spec/parsers/game_statistics_parser_spec.rb +56 -0
- data/spec/parsers/profile_parser_spec.rb +59 -0
- data/spec/parsers/question_parser_spec.rb +34 -0
- data/spec/parsers/session_parser_spec.rb +20 -0
- data/spec/parsers/time_parser_spec.rb +19 -0
- data/spec/parsers/user_parser_spec.rb +51 -0
- data/spec/spec_helper.rb +48 -0
- data/spec/user_spec.rb +33 -0
- data/triviacrack.gemspec +31 -0
- metadata +258 -0
@@ -0,0 +1,363 @@
|
|
1
|
+
{
|
2
|
+
"id": 2222,
|
3
|
+
"opponent": {
|
4
|
+
"id": 0,
|
5
|
+
"alerts_count": 0,
|
6
|
+
"username": "example.2"
|
7
|
+
},
|
8
|
+
"game_status": "PENDING_APPROVAL",
|
9
|
+
"language": "EN",
|
10
|
+
"created": "02/18/2015 23:52:03 EST",
|
11
|
+
"last_turn": "02/18/2015 23:52:03 EST",
|
12
|
+
"type": "NORMAL",
|
13
|
+
"expiration_date": "02/21/2015 23:52:03 EST",
|
14
|
+
"my_turn": true,
|
15
|
+
"statistics": {
|
16
|
+
"player_one_statistics": {
|
17
|
+
"correct_answers": 0,
|
18
|
+
"incorrect_answers": 0,
|
19
|
+
"challenges_won": 0,
|
20
|
+
"questions_answered": 0,
|
21
|
+
"crowns_won": 0
|
22
|
+
},
|
23
|
+
"player_two_statistics": {
|
24
|
+
"correct_answers": 0,
|
25
|
+
"incorrect_answers": 0,
|
26
|
+
"challenges_won": 0,
|
27
|
+
"questions_answered": 0,
|
28
|
+
"crowns_won": 0
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"duelGameType": false,
|
32
|
+
"normalType": true,
|
33
|
+
"spins_data": {
|
34
|
+
"spins": [{
|
35
|
+
"type": "CROWN",
|
36
|
+
"questions": [{
|
37
|
+
"question": {
|
38
|
+
"id": 12785,
|
39
|
+
"category": "HISTORY",
|
40
|
+
"text": "What type of writing was used in the Ancient Egypt?",
|
41
|
+
"answers": ["Cuneiform writing", "Ideographic writing", "Codex", "Hieroglyphic writing"],
|
42
|
+
"author": {
|
43
|
+
"id": 18326659,
|
44
|
+
"name": "albitadinamita11",
|
45
|
+
"username": "albitadinamita11",
|
46
|
+
"fb_show_picture": false,
|
47
|
+
"fb_show_name": false
|
48
|
+
},
|
49
|
+
"translator": {
|
50
|
+
"id": 17827910,
|
51
|
+
"name": "Sandra Guerrero",
|
52
|
+
"username": "sandra.guerrero.357",
|
53
|
+
"facebook_id": "100000175671594",
|
54
|
+
"facebook_name": "Sandra Guerrero",
|
55
|
+
"fb_show_picture": true,
|
56
|
+
"fb_show_name": true
|
57
|
+
},
|
58
|
+
"correct_answer": 3,
|
59
|
+
"media_type": "NORMAL"
|
60
|
+
},
|
61
|
+
"powerup_question": {
|
62
|
+
"id": 25175685,
|
63
|
+
"category": "HISTORY",
|
64
|
+
"text": "Which document contains the Bill of Rights?",
|
65
|
+
"answers": ["The Articles Of Confederation", "The Declaration Of Independence", "The Constitution", "The Emancipation Proclamation"],
|
66
|
+
"author": {
|
67
|
+
"id": 87224962,
|
68
|
+
"name": "kelind",
|
69
|
+
"username": "kelind",
|
70
|
+
"fb_show_picture": false,
|
71
|
+
"fb_show_name": false
|
72
|
+
},
|
73
|
+
"correct_answer": 2,
|
74
|
+
"media_type": "NORMAL"
|
75
|
+
}
|
76
|
+
}, {
|
77
|
+
"question": {
|
78
|
+
"id": 23161200,
|
79
|
+
"category": "GEOGRAPHY",
|
80
|
+
"text": "What currency is represented by the symbol: £?",
|
81
|
+
"answers": ["Pound", "American Dollar", "Yen", "Peso"],
|
82
|
+
"author": {
|
83
|
+
"id": 105137588,
|
84
|
+
"name": "Katie Pampuch",
|
85
|
+
"username": "katieandoreo",
|
86
|
+
"facebook_id": "636211257",
|
87
|
+
"facebook_name": "Katie Pampuch",
|
88
|
+
"fb_show_picture": true,
|
89
|
+
"fb_show_name": true
|
90
|
+
},
|
91
|
+
"correct_answer": 0,
|
92
|
+
"media_type": "NORMAL"
|
93
|
+
},
|
94
|
+
"powerup_question": {
|
95
|
+
"id": 5908789,
|
96
|
+
"category": "GEOGRAPHY",
|
97
|
+
"text": "Which of the following countries is not in Europe?",
|
98
|
+
"answers": ["Thailand", "Spain", "Italy", "Greece"],
|
99
|
+
"author": {
|
100
|
+
"id": 45047543,
|
101
|
+
"name": "jessica_k59",
|
102
|
+
"username": "jessica_k59",
|
103
|
+
"facebook_id": "664765460",
|
104
|
+
"facebook_name": "Jessica Kalinic",
|
105
|
+
"fb_show_picture": true,
|
106
|
+
"fb_show_name": false
|
107
|
+
},
|
108
|
+
"correct_answer": 0,
|
109
|
+
"media_type": "NORMAL"
|
110
|
+
}
|
111
|
+
}, {
|
112
|
+
"question": {
|
113
|
+
"id": 41262,
|
114
|
+
"category": "ARTS",
|
115
|
+
"text": "What nationality was the composer Claude Debussy?",
|
116
|
+
"answers": ["Belgian", "Swiss", "French", "Spanish"],
|
117
|
+
"correct_answer": 2,
|
118
|
+
"media_type": "NORMAL"
|
119
|
+
},
|
120
|
+
"powerup_question": {
|
121
|
+
"id": 26238389,
|
122
|
+
"category": "ARTS",
|
123
|
+
"text": "Which of these is not a stringed instrument?",
|
124
|
+
"answers": ["Ukelele", "Harp", "Cello", "Bassoon"],
|
125
|
+
"author": {
|
126
|
+
"id": 116483759,
|
127
|
+
"name": "anda12",
|
128
|
+
"username": "anda12",
|
129
|
+
"fb_show_picture": false,
|
130
|
+
"fb_show_name": false
|
131
|
+
},
|
132
|
+
"correct_answer": 3,
|
133
|
+
"media_type": "NORMAL"
|
134
|
+
}
|
135
|
+
}, {
|
136
|
+
"question": {
|
137
|
+
"id": 23473896,
|
138
|
+
"category": "SPORTS",
|
139
|
+
"text": "In Pool, when racking up the balls to play 9-Ball, which ball number is put in the front?",
|
140
|
+
"answers": ["9", "1", "7", "2"],
|
141
|
+
"author": {
|
142
|
+
"id": 85541236,
|
143
|
+
"name": "Neil Armani",
|
144
|
+
"username": "neil.armani",
|
145
|
+
"facebook_id": "1110969533",
|
146
|
+
"facebook_name": "Neil Armani",
|
147
|
+
"fb_show_picture": true,
|
148
|
+
"fb_show_name": true
|
149
|
+
},
|
150
|
+
"correct_answer": 1,
|
151
|
+
"media_type": "NORMAL"
|
152
|
+
},
|
153
|
+
"powerup_question": {
|
154
|
+
"id": 16367516,
|
155
|
+
"category": "SPORTS",
|
156
|
+
"text": "In Ice Hockey, how do the officials start each play?",
|
157
|
+
"answers": ["Dropoff", "Faceoff", "Kickoff", "Stare-Off"],
|
158
|
+
"author": {
|
159
|
+
"id": 76102943,
|
160
|
+
"name": "dahmasontrivia",
|
161
|
+
"username": "dahmasontrivia",
|
162
|
+
"fb_show_picture": false,
|
163
|
+
"fb_show_name": false
|
164
|
+
},
|
165
|
+
"correct_answer": 1,
|
166
|
+
"media_type": "NORMAL"
|
167
|
+
}
|
168
|
+
}, {
|
169
|
+
"question": {
|
170
|
+
"id": 18111730,
|
171
|
+
"category": "ENTERTAINMENT",
|
172
|
+
"text": "What boxer appeared in The Hangover?",
|
173
|
+
"answers": ["Muhammad Ali", "Mike Tyson", "Sugar Ray Leonard", "George Foreman"],
|
174
|
+
"author": {
|
175
|
+
"id": 82122280,
|
176
|
+
"name": "Jim Stortz",
|
177
|
+
"username": "jimstortz",
|
178
|
+
"facebook_id": "100000779873410",
|
179
|
+
"facebook_name": "Jim Stortz",
|
180
|
+
"fb_show_picture": true,
|
181
|
+
"fb_show_name": true
|
182
|
+
},
|
183
|
+
"correct_answer": 1,
|
184
|
+
"media_type": "NORMAL"
|
185
|
+
},
|
186
|
+
"powerup_question": {
|
187
|
+
"id": 23028986,
|
188
|
+
"category": "ENTERTAINMENT",
|
189
|
+
"text": "What is the name of Spongebob's grumpy neighbor?",
|
190
|
+
"answers": ["Patrick", "Squidward", "Sandy", "Gary"],
|
191
|
+
"author": {
|
192
|
+
"id": 102615136,
|
193
|
+
"name": "lexi21b",
|
194
|
+
"username": "lexi21b",
|
195
|
+
"fb_show_picture": false,
|
196
|
+
"fb_show_name": false
|
197
|
+
},
|
198
|
+
"correct_answer": 1,
|
199
|
+
"media_type": "NORMAL"
|
200
|
+
}
|
201
|
+
}, {
|
202
|
+
"question": {
|
203
|
+
"id": 92404,
|
204
|
+
"category": "SCIENCE",
|
205
|
+
"text": "Where is the chlorophyll of a plant?",
|
206
|
+
"answers": ["Leaf", "Flower", "Stem", "Root"],
|
207
|
+
"author": {
|
208
|
+
"id": 24113335,
|
209
|
+
"name": "Phillipe Miura",
|
210
|
+
"username": "phillipehiroche",
|
211
|
+
"facebook_id": "100001700983617",
|
212
|
+
"facebook_name": "Phillipe Miura",
|
213
|
+
"fb_show_picture": true,
|
214
|
+
"fb_show_name": true
|
215
|
+
},
|
216
|
+
"translator": {
|
217
|
+
"id": 22114194,
|
218
|
+
"name": "sofia.nadir.ramos",
|
219
|
+
"username": "sofia.nadir.ramos",
|
220
|
+
"fb_show_picture": false,
|
221
|
+
"fb_show_name": false
|
222
|
+
},
|
223
|
+
"correct_answer": 0,
|
224
|
+
"media_type": "NORMAL"
|
225
|
+
},
|
226
|
+
"powerup_question": {
|
227
|
+
"id": 6793470,
|
228
|
+
"category": "SCIENCE",
|
229
|
+
"text": "The symbol for the element silver in the Periodic Table is derived from its name in Latin, which is...?",
|
230
|
+
"answers": ["Platum", "Argentum", "Silverum", "Argius"],
|
231
|
+
"author": {
|
232
|
+
"id": 42221297,
|
233
|
+
"name": "sarinha_andrad",
|
234
|
+
"username": "sarinha_andrad",
|
235
|
+
"fb_show_picture": false,
|
236
|
+
"fb_show_name": false
|
237
|
+
},
|
238
|
+
"correct_answer": 1,
|
239
|
+
"media_type": "NORMAL"
|
240
|
+
}
|
241
|
+
}]
|
242
|
+
}, {
|
243
|
+
"type": "DUEL",
|
244
|
+
"questions": [{
|
245
|
+
"question": {
|
246
|
+
"id": 1571,
|
247
|
+
"category": "HISTORY",
|
248
|
+
"text": "What year did Cuba become independent from Spain?",
|
249
|
+
"answers": ["1831", "1898", "1912", "1887"],
|
250
|
+
"correct_answer": 1,
|
251
|
+
"media_type": "NORMAL"
|
252
|
+
}
|
253
|
+
}, {
|
254
|
+
"question": {
|
255
|
+
"id": 4815,
|
256
|
+
"category": "GEOGRAPHY",
|
257
|
+
"text": "Which of the following ecoregions can NOT be found in the Gobi desert?",
|
258
|
+
"answers": ["Eastern steppe", "Tian Shan range", "Alashan Plateau semi-desert", "All can be found there"],
|
259
|
+
"correct_answer": 3,
|
260
|
+
"media_type": "NORMAL"
|
261
|
+
}
|
262
|
+
}, {
|
263
|
+
"question": {
|
264
|
+
"id": 49985,
|
265
|
+
"category": "ARTS",
|
266
|
+
"text": "How many Horcruxes did Lord Voldemort make?",
|
267
|
+
"answers": ["Six", "Three", "Seven", "Nine"],
|
268
|
+
"author": {
|
269
|
+
"id": 23694251,
|
270
|
+
"name": "Ruth Parada",
|
271
|
+
"username": "ruth.parada.5",
|
272
|
+
"facebook_id": "100000903063794",
|
273
|
+
"facebook_name": "Ruth Parada",
|
274
|
+
"fb_show_picture": true,
|
275
|
+
"fb_show_name": true
|
276
|
+
},
|
277
|
+
"correct_answer": 2,
|
278
|
+
"media_type": "NORMAL"
|
279
|
+
}
|
280
|
+
}, {
|
281
|
+
"question": {
|
282
|
+
"id": 293,
|
283
|
+
"category": "SPORTS",
|
284
|
+
"text": "This sport was born in India, men can win the Thomas Cup and women, the Uber Cup. What sport is it?",
|
285
|
+
"answers": ["Bowling", "Fencing", "Basketball", "Badminton"],
|
286
|
+
"correct_answer": 3,
|
287
|
+
"media_type": "NORMAL"
|
288
|
+
}
|
289
|
+
}, {
|
290
|
+
"question": {
|
291
|
+
"id": 20722067,
|
292
|
+
"category": "ENTERTAINMENT",
|
293
|
+
"text": "Which of the following did not star Leonardo DiCaprio?",
|
294
|
+
"answers": ["The Wolf Of Wall Street", "Titanic", "The Dark Knight", "Inception"],
|
295
|
+
"author": {
|
296
|
+
"id": 90101313,
|
297
|
+
"name": "Emily Timm",
|
298
|
+
"username": "emily_timm",
|
299
|
+
"facebook_id": "1479602887",
|
300
|
+
"facebook_name": "Emily Timm",
|
301
|
+
"fb_show_picture": true,
|
302
|
+
"fb_show_name": true
|
303
|
+
},
|
304
|
+
"correct_answer": 2,
|
305
|
+
"media_type": "NORMAL"
|
306
|
+
}
|
307
|
+
}, {
|
308
|
+
"question": {
|
309
|
+
"id": 25495188,
|
310
|
+
"category": "SCIENCE",
|
311
|
+
"text": "What is the most inner layer of Earth's structure?",
|
312
|
+
"answers": ["Ocean", "Core", "Crust", "Mantle"],
|
313
|
+
"author": {
|
314
|
+
"id": 88944958,
|
315
|
+
"name": "meggggiee1028",
|
316
|
+
"username": "meggggiee1028",
|
317
|
+
"fb_show_picture": false,
|
318
|
+
"fb_show_name": false
|
319
|
+
},
|
320
|
+
"correct_answer": 1,
|
321
|
+
"media_type": "NORMAL"
|
322
|
+
}
|
323
|
+
}],
|
324
|
+
"tie_break_question": {
|
325
|
+
"id": 19165923,
|
326
|
+
"category": "SPORTS",
|
327
|
+
"text": "How often are Summer Olympic Games held?",
|
328
|
+
"answers": ["5 Years", "2 Years", "4 Years", "3 Years"],
|
329
|
+
"author": {
|
330
|
+
"id": 87813918,
|
331
|
+
"name": "Zack Halbert",
|
332
|
+
"username": "zack_halbert",
|
333
|
+
"facebook_id": "1045515285",
|
334
|
+
"facebook_name": "Zack Halbert",
|
335
|
+
"fb_show_picture": true,
|
336
|
+
"fb_show_name": true
|
337
|
+
},
|
338
|
+
"correct_answer": 2,
|
339
|
+
"media_type": "NORMAL"
|
340
|
+
}
|
341
|
+
}]
|
342
|
+
},
|
343
|
+
"available_crowns": ["ENTERTAINMENT", "SCIENCE", "SPORTS", "HISTORY", "GEOGRAPHY", "ARTS"],
|
344
|
+
"my_player_number": 1,
|
345
|
+
"player_one": {
|
346
|
+
"charges": 0
|
347
|
+
},
|
348
|
+
"player_two": {
|
349
|
+
"charges": 0
|
350
|
+
},
|
351
|
+
"round_number": 1,
|
352
|
+
"sub_status": "P1_WAITING_FIRST_TURN",
|
353
|
+
"is_random": true,
|
354
|
+
"unread_messages": 0,
|
355
|
+
"status_version": 0,
|
356
|
+
"my_level_data": {
|
357
|
+
"level": 31,
|
358
|
+
"points": 541,
|
359
|
+
"progress": 48,
|
360
|
+
"goal_points": 558,
|
361
|
+
"level_up": false
|
362
|
+
}
|
363
|
+
}
|
@@ -0,0 +1,553 @@
|
|
1
|
+
{
|
2
|
+
"is_friend": false,
|
3
|
+
"phone": "",
|
4
|
+
"zip_code": "",
|
5
|
+
"versus": {
|
6
|
+
"won": 0,
|
7
|
+
"lost": 1
|
8
|
+
},
|
9
|
+
"buddiesFacebookId": [],
|
10
|
+
"statistics": {
|
11
|
+
"rankings": {
|
12
|
+
"podium": {
|
13
|
+
"first_place": 0,
|
14
|
+
"second_place": 0,
|
15
|
+
"third_place": 0
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"challenges": {
|
19
|
+
"won": 35,
|
20
|
+
"lost": 6
|
21
|
+
},
|
22
|
+
"language_games": [{
|
23
|
+
"language": "EN",
|
24
|
+
"quantity": 770
|
25
|
+
}],
|
26
|
+
"category_questions": [{
|
27
|
+
"category": "ENTERTAINMENT",
|
28
|
+
"correct": 2166,
|
29
|
+
"incorrect": 764,
|
30
|
+
"worst": true,
|
31
|
+
"performance": 73
|
32
|
+
}, {
|
33
|
+
"category": "ARTS",
|
34
|
+
"correct": 2147,
|
35
|
+
"incorrect": 686,
|
36
|
+
"worst": false
|
37
|
+
}, {
|
38
|
+
"category": "HISTORY",
|
39
|
+
"correct": 2404,
|
40
|
+
"incorrect": 561,
|
41
|
+
"worst": false
|
42
|
+
}, {
|
43
|
+
"category": "SCIENCE",
|
44
|
+
"correct": 2310,
|
45
|
+
"incorrect": 663,
|
46
|
+
"worst": false
|
47
|
+
}, {
|
48
|
+
"category": "SPORTS",
|
49
|
+
"correct": 2743,
|
50
|
+
"incorrect": 405,
|
51
|
+
"worst": false
|
52
|
+
}, {
|
53
|
+
"category": "GEOGRAPHY",
|
54
|
+
"correct": 2443,
|
55
|
+
"incorrect": 523,
|
56
|
+
"worst": false
|
57
|
+
}],
|
58
|
+
"language_questions": [{
|
59
|
+
"language": "EN",
|
60
|
+
"correct": 14213,
|
61
|
+
"incorrect": 3602
|
62
|
+
}],
|
63
|
+
"games_won": 530,
|
64
|
+
"games_lost": 240,
|
65
|
+
"games_resigned": 0,
|
66
|
+
"duel_games_won": 0,
|
67
|
+
"duel_games_lost": 0,
|
68
|
+
"consecutive_games_won": 3,
|
69
|
+
"consecutive_answers_correct": 0
|
70
|
+
},
|
71
|
+
"id": 111,
|
72
|
+
"is_blocked": false,
|
73
|
+
"allow_og_posts": true,
|
74
|
+
"achievements": [{
|
75
|
+
"id": 1,
|
76
|
+
"status": "NOT_OBTAINED",
|
77
|
+
"value": 1,
|
78
|
+
"counter": 0,
|
79
|
+
"percent": 0,
|
80
|
+
"disabled": false,
|
81
|
+
"reward_type": "COINS",
|
82
|
+
"rewards": 5
|
83
|
+
}, {
|
84
|
+
"id": 300,
|
85
|
+
"status": "OBTAINED",
|
86
|
+
"value": 5,
|
87
|
+
"counter": 5,
|
88
|
+
"percent": 100,
|
89
|
+
"disabled": false,
|
90
|
+
"reward_type": "COINS",
|
91
|
+
"rewards": 1
|
92
|
+
}, {
|
93
|
+
"id": 301,
|
94
|
+
"status": "OBTAINED",
|
95
|
+
"value": 25,
|
96
|
+
"counter": 25,
|
97
|
+
"percent": 100,
|
98
|
+
"disabled": false,
|
99
|
+
"reward_type": "COINS",
|
100
|
+
"rewards": 5
|
101
|
+
}, {
|
102
|
+
"id": 322,
|
103
|
+
"status": "OBTAINED",
|
104
|
+
"value": 100,
|
105
|
+
"counter": 100,
|
106
|
+
"percent": 100,
|
107
|
+
"disabled": false,
|
108
|
+
"reward_type": "COINS",
|
109
|
+
"rewards": 25
|
110
|
+
}, {
|
111
|
+
"id": 323,
|
112
|
+
"status": "OBTAINED",
|
113
|
+
"value": 500,
|
114
|
+
"counter": 500,
|
115
|
+
"percent": 100,
|
116
|
+
"disabled": false,
|
117
|
+
"reward_type": "COINS",
|
118
|
+
"rewards": 100
|
119
|
+
}, {
|
120
|
+
"id": 302,
|
121
|
+
"status": "OBTAINED",
|
122
|
+
"value": 5,
|
123
|
+
"counter": 5,
|
124
|
+
"percent": 100,
|
125
|
+
"disabled": false,
|
126
|
+
"reward_type": "COINS",
|
127
|
+
"rewards": 3
|
128
|
+
}, {
|
129
|
+
"id": 303,
|
130
|
+
"status": "NOT_OBTAINED",
|
131
|
+
"value": 25,
|
132
|
+
"counter": 3,
|
133
|
+
"percent": 12,
|
134
|
+
"disabled": false,
|
135
|
+
"reward_type": "COINS",
|
136
|
+
"rewards": 15
|
137
|
+
}, {
|
138
|
+
"id": 304,
|
139
|
+
"status": "OBTAINED",
|
140
|
+
"value": 10,
|
141
|
+
"counter": 10,
|
142
|
+
"percent": 100,
|
143
|
+
"disabled": false,
|
144
|
+
"reward_type": "COINS",
|
145
|
+
"rewards": 1
|
146
|
+
}, {
|
147
|
+
"id": 305,
|
148
|
+
"status": "OBTAINED",
|
149
|
+
"value": 100,
|
150
|
+
"counter": 100,
|
151
|
+
"percent": 100,
|
152
|
+
"disabled": false,
|
153
|
+
"reward_type": "COINS",
|
154
|
+
"rewards": 10
|
155
|
+
}, {
|
156
|
+
"id": 324,
|
157
|
+
"status": "OBTAINED",
|
158
|
+
"value": 500,
|
159
|
+
"counter": 500,
|
160
|
+
"percent": 100,
|
161
|
+
"disabled": false,
|
162
|
+
"reward_type": "COINS",
|
163
|
+
"rewards": 25
|
164
|
+
}, {
|
165
|
+
"id": 306,
|
166
|
+
"status": "OBTAINED",
|
167
|
+
"value": 10,
|
168
|
+
"counter": 10,
|
169
|
+
"percent": 100,
|
170
|
+
"disabled": false,
|
171
|
+
"reward_type": "COINS",
|
172
|
+
"rewards": 3
|
173
|
+
}, {
|
174
|
+
"id": 307,
|
175
|
+
"status": "OBTAINED",
|
176
|
+
"value": 25,
|
177
|
+
"counter": 25,
|
178
|
+
"percent": 100,
|
179
|
+
"disabled": false,
|
180
|
+
"reward_type": "COINS",
|
181
|
+
"rewards": 25
|
182
|
+
}, {
|
183
|
+
"id": 308,
|
184
|
+
"status": "OBTAINED",
|
185
|
+
"value": 10,
|
186
|
+
"counter": 10,
|
187
|
+
"percent": 100,
|
188
|
+
"disabled": false,
|
189
|
+
"reward_type": "COINS",
|
190
|
+
"rewards": 3
|
191
|
+
}, {
|
192
|
+
"id": 326,
|
193
|
+
"status": "OBTAINED",
|
194
|
+
"value": 100,
|
195
|
+
"counter": 100,
|
196
|
+
"percent": 100,
|
197
|
+
"disabled": false,
|
198
|
+
"reward_type": "COINS",
|
199
|
+
"rewards": 10
|
200
|
+
}, {
|
201
|
+
"id": 327,
|
202
|
+
"status": "OBTAINED",
|
203
|
+
"value": 500,
|
204
|
+
"counter": 500,
|
205
|
+
"percent": 100,
|
206
|
+
"disabled": false,
|
207
|
+
"reward_type": "COINS",
|
208
|
+
"rewards": 50
|
209
|
+
}, {
|
210
|
+
"id": 309,
|
211
|
+
"status": "OBTAINED",
|
212
|
+
"value": 10,
|
213
|
+
"counter": 10,
|
214
|
+
"percent": 100,
|
215
|
+
"disabled": false,
|
216
|
+
"reward_type": "COINS",
|
217
|
+
"rewards": 3
|
218
|
+
}, {
|
219
|
+
"id": 328,
|
220
|
+
"status": "OBTAINED",
|
221
|
+
"value": 100,
|
222
|
+
"counter": 100,
|
223
|
+
"percent": 100,
|
224
|
+
"disabled": false,
|
225
|
+
"reward_type": "COINS",
|
226
|
+
"rewards": 10
|
227
|
+
}, {
|
228
|
+
"id": 329,
|
229
|
+
"status": "OBTAINED",
|
230
|
+
"value": 500,
|
231
|
+
"counter": 500,
|
232
|
+
"percent": 100,
|
233
|
+
"disabled": false,
|
234
|
+
"reward_type": "COINS",
|
235
|
+
"rewards": 50
|
236
|
+
}, {
|
237
|
+
"id": 310,
|
238
|
+
"status": "OBTAINED",
|
239
|
+
"value": 10,
|
240
|
+
"counter": 10,
|
241
|
+
"percent": 100,
|
242
|
+
"disabled": false,
|
243
|
+
"reward_type": "COINS",
|
244
|
+
"rewards": 3
|
245
|
+
}, {
|
246
|
+
"id": 330,
|
247
|
+
"status": "OBTAINED",
|
248
|
+
"value": 100,
|
249
|
+
"counter": 100,
|
250
|
+
"percent": 100,
|
251
|
+
"disabled": false,
|
252
|
+
"reward_type": "COINS",
|
253
|
+
"rewards": 10
|
254
|
+
}, {
|
255
|
+
"id": 331,
|
256
|
+
"status": "OBTAINED",
|
257
|
+
"value": 500,
|
258
|
+
"counter": 500,
|
259
|
+
"percent": 100,
|
260
|
+
"disabled": false,
|
261
|
+
"reward_type": "COINS",
|
262
|
+
"rewards": 50
|
263
|
+
}, {
|
264
|
+
"id": 311,
|
265
|
+
"status": "OBTAINED",
|
266
|
+
"value": 10,
|
267
|
+
"counter": 10,
|
268
|
+
"percent": 100,
|
269
|
+
"disabled": false,
|
270
|
+
"reward_type": "COINS",
|
271
|
+
"rewards": 3
|
272
|
+
}, {
|
273
|
+
"id": 332,
|
274
|
+
"status": "OBTAINED",
|
275
|
+
"value": 100,
|
276
|
+
"counter": 100,
|
277
|
+
"percent": 100,
|
278
|
+
"disabled": false,
|
279
|
+
"reward_type": "COINS",
|
280
|
+
"rewards": 10
|
281
|
+
}, {
|
282
|
+
"id": 333,
|
283
|
+
"status": "OBTAINED",
|
284
|
+
"value": 500,
|
285
|
+
"counter": 500,
|
286
|
+
"percent": 100,
|
287
|
+
"disabled": false,
|
288
|
+
"reward_type": "COINS",
|
289
|
+
"rewards": 50
|
290
|
+
}, {
|
291
|
+
"id": 312,
|
292
|
+
"status": "OBTAINED",
|
293
|
+
"value": 10,
|
294
|
+
"counter": 10,
|
295
|
+
"percent": 100,
|
296
|
+
"disabled": false,
|
297
|
+
"reward_type": "COINS",
|
298
|
+
"rewards": 3
|
299
|
+
}, {
|
300
|
+
"id": 334,
|
301
|
+
"status": "OBTAINED",
|
302
|
+
"value": 100,
|
303
|
+
"counter": 100,
|
304
|
+
"percent": 100,
|
305
|
+
"disabled": false,
|
306
|
+
"reward_type": "COINS",
|
307
|
+
"rewards": 10
|
308
|
+
}, {
|
309
|
+
"id": 335,
|
310
|
+
"status": "OBTAINED",
|
311
|
+
"value": 500,
|
312
|
+
"counter": 500,
|
313
|
+
"percent": 100,
|
314
|
+
"disabled": false,
|
315
|
+
"reward_type": "COINS",
|
316
|
+
"rewards": 50
|
317
|
+
}, {
|
318
|
+
"id": 313,
|
319
|
+
"status": "OBTAINED",
|
320
|
+
"value": 10,
|
321
|
+
"counter": 10,
|
322
|
+
"percent": 100,
|
323
|
+
"disabled": false,
|
324
|
+
"reward_type": "COINS",
|
325
|
+
"rewards": 3
|
326
|
+
}, {
|
327
|
+
"id": 336,
|
328
|
+
"status": "OBTAINED",
|
329
|
+
"value": 100,
|
330
|
+
"counter": 100,
|
331
|
+
"percent": 100,
|
332
|
+
"disabled": false,
|
333
|
+
"reward_type": "COINS",
|
334
|
+
"rewards": 10
|
335
|
+
}, {
|
336
|
+
"id": 337,
|
337
|
+
"status": "OBTAINED",
|
338
|
+
"value": 500,
|
339
|
+
"counter": 500,
|
340
|
+
"percent": 100,
|
341
|
+
"disabled": false,
|
342
|
+
"reward_type": "COINS",
|
343
|
+
"rewards": 50
|
344
|
+
}, {
|
345
|
+
"id": 314,
|
346
|
+
"status": "OBTAINED",
|
347
|
+
"value": 5,
|
348
|
+
"counter": 5,
|
349
|
+
"percent": 100,
|
350
|
+
"disabled": false,
|
351
|
+
"reward_type": "COINS",
|
352
|
+
"rewards": 3
|
353
|
+
}, {
|
354
|
+
"id": 315,
|
355
|
+
"status": "OBTAINED",
|
356
|
+
"value": 5,
|
357
|
+
"counter": 5,
|
358
|
+
"percent": 100,
|
359
|
+
"disabled": false,
|
360
|
+
"reward_type": "COINS",
|
361
|
+
"rewards": 5
|
362
|
+
}, {
|
363
|
+
"id": 316,
|
364
|
+
"status": "NOT_OBTAINED",
|
365
|
+
"value": 50,
|
366
|
+
"counter": 35,
|
367
|
+
"percent": 70,
|
368
|
+
"disabled": false,
|
369
|
+
"reward_type": "COINS",
|
370
|
+
"rewards": 25
|
371
|
+
}, {
|
372
|
+
"id": 338,
|
373
|
+
"status": "NOT_OBTAINED",
|
374
|
+
"value": 200,
|
375
|
+
"counter": 35,
|
376
|
+
"percent": 17,
|
377
|
+
"disabled": false,
|
378
|
+
"reward_type": "COINS",
|
379
|
+
"rewards": 50
|
380
|
+
}, {
|
381
|
+
"id": 350,
|
382
|
+
"status": "NOT_OBTAINED",
|
383
|
+
"value": 10,
|
384
|
+
"counter": 0,
|
385
|
+
"percent": 0,
|
386
|
+
"disabled": false,
|
387
|
+
"reward_type": "COINS",
|
388
|
+
"rewards": 10
|
389
|
+
}, {
|
390
|
+
"id": 351,
|
391
|
+
"status": "NOT_OBTAINED",
|
392
|
+
"value": 50,
|
393
|
+
"counter": 0,
|
394
|
+
"percent": 0,
|
395
|
+
"disabled": false,
|
396
|
+
"reward_type": "COINS",
|
397
|
+
"rewards": 50
|
398
|
+
}, {
|
399
|
+
"id": 352,
|
400
|
+
"status": "NOT_OBTAINED",
|
401
|
+
"value": 100,
|
402
|
+
"counter": 0,
|
403
|
+
"percent": 0,
|
404
|
+
"disabled": false,
|
405
|
+
"reward_type": "COINS",
|
406
|
+
"rewards": 100
|
407
|
+
}, {
|
408
|
+
"id": 353,
|
409
|
+
"status": "NOT_OBTAINED",
|
410
|
+
"value": 500,
|
411
|
+
"counter": 0,
|
412
|
+
"percent": 0,
|
413
|
+
"disabled": false,
|
414
|
+
"reward_type": "COINS",
|
415
|
+
"rewards": 150
|
416
|
+
}, {
|
417
|
+
"id": 360,
|
418
|
+
"status": "NOT_OBTAINED",
|
419
|
+
"value": 10,
|
420
|
+
"counter": 0,
|
421
|
+
"percent": 0,
|
422
|
+
"disabled": false,
|
423
|
+
"reward_type": "COINS",
|
424
|
+
"rewards": 5
|
425
|
+
}, {
|
426
|
+
"id": 361,
|
427
|
+
"status": "NOT_OBTAINED",
|
428
|
+
"value": 50,
|
429
|
+
"counter": 0,
|
430
|
+
"percent": 0,
|
431
|
+
"disabled": false,
|
432
|
+
"reward_type": "COINS",
|
433
|
+
"rewards": 25
|
434
|
+
}, {
|
435
|
+
"id": 362,
|
436
|
+
"status": "NOT_OBTAINED",
|
437
|
+
"value": 100,
|
438
|
+
"counter": 0,
|
439
|
+
"percent": 0,
|
440
|
+
"disabled": false,
|
441
|
+
"reward_type": "COINS",
|
442
|
+
"rewards": 50
|
443
|
+
}, {
|
444
|
+
"id": 363,
|
445
|
+
"status": "NOT_OBTAINED",
|
446
|
+
"value": 500,
|
447
|
+
"counter": 0,
|
448
|
+
"percent": 0,
|
449
|
+
"disabled": false,
|
450
|
+
"reward_type": "COINS",
|
451
|
+
"rewards": 100
|
452
|
+
}, {
|
453
|
+
"id": 340,
|
454
|
+
"status": "NOT_OBTAINED",
|
455
|
+
"value": 50,
|
456
|
+
"counter": 0,
|
457
|
+
"percent": 0,
|
458
|
+
"disabled": false,
|
459
|
+
"reward_type": "COINS",
|
460
|
+
"rewards": 5
|
461
|
+
}, {
|
462
|
+
"id": 341,
|
463
|
+
"status": "NOT_OBTAINED",
|
464
|
+
"value": 250,
|
465
|
+
"counter": 0,
|
466
|
+
"percent": 0,
|
467
|
+
"disabled": false,
|
468
|
+
"reward_type": "COINS",
|
469
|
+
"rewards": 10
|
470
|
+
}, {
|
471
|
+
"id": 342,
|
472
|
+
"status": "NOT_OBTAINED",
|
473
|
+
"value": 500,
|
474
|
+
"counter": 0,
|
475
|
+
"percent": 0,
|
476
|
+
"disabled": false,
|
477
|
+
"reward_type": "COINS",
|
478
|
+
"rewards": 20
|
479
|
+
}, {
|
480
|
+
"id": 343,
|
481
|
+
"status": "NOT_OBTAINED",
|
482
|
+
"value": 1000,
|
483
|
+
"counter": 0,
|
484
|
+
"percent": 0,
|
485
|
+
"disabled": false,
|
486
|
+
"reward_type": "COINS",
|
487
|
+
"rewards": 50
|
488
|
+
}, {
|
489
|
+
"id": 370,
|
490
|
+
"status": "NOT_OBTAINED",
|
491
|
+
"value": 5,
|
492
|
+
"counter": 0,
|
493
|
+
"percent": 0,
|
494
|
+
"disabled": false,
|
495
|
+
"reward_type": "COINS",
|
496
|
+
"rewards": 25
|
497
|
+
}, {
|
498
|
+
"id": 380,
|
499
|
+
"status": "NOT_OBTAINED",
|
500
|
+
"value": 1,
|
501
|
+
"counter": 0,
|
502
|
+
"percent": 0,
|
503
|
+
"disabled": false,
|
504
|
+
"reward_type": "COINS",
|
505
|
+
"rewards": 10
|
506
|
+
}, {
|
507
|
+
"id": 381,
|
508
|
+
"status": "NOT_OBTAINED",
|
509
|
+
"value": 10,
|
510
|
+
"counter": 0,
|
511
|
+
"percent": 0,
|
512
|
+
"disabled": false,
|
513
|
+
"reward_type": "COINS",
|
514
|
+
"rewards": 25
|
515
|
+
}, {
|
516
|
+
"id": 382,
|
517
|
+
"status": "NOT_OBTAINED",
|
518
|
+
"value": 50,
|
519
|
+
"counter": 0,
|
520
|
+
"percent": 0,
|
521
|
+
"disabled": false,
|
522
|
+
"reward_type": "COINS",
|
523
|
+
"rewards": 50
|
524
|
+
}, {
|
525
|
+
"id": 383,
|
526
|
+
"status": "NOT_OBTAINED",
|
527
|
+
"value": 250,
|
528
|
+
"counter": 0,
|
529
|
+
"percent": 0,
|
530
|
+
"disabled": false,
|
531
|
+
"reward_type": "COINS",
|
532
|
+
"rewards": 150
|
533
|
+
}],
|
534
|
+
"username": "example",
|
535
|
+
"friends": 1,
|
536
|
+
"description": "",
|
537
|
+
"blocked_users_count": 0,
|
538
|
+
"level_data": {
|
539
|
+
"level": 167
|
540
|
+
},
|
541
|
+
"is_app_user": true,
|
542
|
+
"has_pass": false,
|
543
|
+
"games_by_language": [],
|
544
|
+
"online_status": "ONLINE",
|
545
|
+
"fb_show_name": true,
|
546
|
+
"last_play_date": "03/01/2015 13:34:43 EST",
|
547
|
+
"photo_url": "",
|
548
|
+
"last_log": "03/01/2015 14:01:43 EST",
|
549
|
+
"fb_show_picture": true,
|
550
|
+
"twitter_name": "",
|
551
|
+
"country": "US",
|
552
|
+
"email": "user@example.com"
|
553
|
+
}
|