質問編集履歴

1

コードの追加

2019/05/13 00:51

投稿

totot
totot

スコア20

test CHANGED
File without changes
test CHANGED
@@ -74,6 +74,358 @@
74
74
 
75
75
  ```
76
76
 
77
+
78
+
79
+ ```Json
80
+
81
+ {
82
+
83
+ "meta":{
84
+
85
+ "code":200,
86
+
87
+ "requestId":"5cd6fa5e9fb6b75700851759"
88
+
89
+ },
90
+
91
+ "response":{
92
+
93
+ "group":{
94
+
95
+ "results":[
96
+
97
+ {
98
+
99
+ "displayType":"venue",
100
+
101
+ "venue":{
102
+
103
+ "id":"4c4fde46dcb5d13ad7b10108",
104
+
105
+ "name":"Fruit de saison (フルーフ・デゥ・セゾン)",
106
+
107
+ "contact":{
108
+
109
+
110
+
111
+ },
112
+
113
+ "location":{
114
+
115
+ "address":"外神田4-11-2",
116
+
117
+ "lat":35.702276108565556,
118
+
119
+ "lng":139.77286384637375,
120
+
121
+ "labeledLatLngs":[
122
+
123
+ {
124
+
125
+ "label":"display",
126
+
127
+ "lat":35.702276108565556,
128
+
129
+ "lng":139.77286384637375
130
+
131
+ }
132
+
133
+ ],
134
+
135
+ "distance":223,
136
+
137
+ "postalCode":"101-0021",
138
+
139
+ "cc":"JP",
140
+
141
+ "city":"東京",
142
+
143
+ "state":"東京都",
144
+
145
+ "country":"日本",
146
+
147
+ "formattedAddress":[
148
+
149
+ "外神田4-11-2",
150
+
151
+ "千代田区, 東京都",
152
+
153
+ "101-0021",
154
+
155
+ "日本"
156
+
157
+ ]
158
+
159
+ },
160
+
161
+ "categories":[
162
+
163
+ {
164
+
165
+ "id":"4bf58dd8d48988d16d941735",
166
+
167
+ "name":"Café",
168
+
169
+ "pluralName":"Cafés",
170
+
171
+ "shortName":"Café",
172
+
173
+ "icon":{
174
+
175
+ "prefix":"https://ss3.4sqi.net/img/categories_v2/food/cafe_",
176
+
177
+ "suffix":".png"
178
+
179
+ },
180
+
181
+ "primary":true
182
+
183
+ }
184
+
185
+ ],
186
+
187
+ "verified":false,
188
+
189
+ "stats":{
190
+
191
+ "tipCount":0,
192
+
193
+ "usersCount":0,
194
+
195
+ "checkinsCount":0,
196
+
197
+ "visitsCount":0
198
+
199
+ },
200
+
201
+ "dislike":false,
202
+
203
+ "ok":false,
204
+
205
+ "beenHere":{
206
+
207
+ "count":0,
208
+
209
+ "lastCheckinExpiredAt":0,
210
+
211
+ "marked":false,
212
+
213
+ "unconfirmedCount":0
214
+
215
+ }
216
+
217
+ },
218
+
219
+ "id":"5cd6fa5fa795bd0039c46dfc",
220
+
221
+ "photo":{
222
+
223
+ "id":"51bfd28d498e80f211f96907",
224
+
225
+ "createdAt":1371525773,
226
+
227
+ "prefix":"https://fastly.4sqi.net/img/general/",
228
+
229
+ "suffix":"/52296049_SkW5N14j2phk0gmnmQ3XGhBFCjy5KJkak2fhB7tKju4.jpg",
230
+
231
+ "width":720,
232
+
233
+ "height":960,
234
+
235
+ "visibility":"public"
236
+
237
+ },
238
+
239
+ "snippets":{
240
+
241
+ "count":1,
242
+
243
+ "items":[
244
+
245
+ {
246
+
247
+ "detail":{
248
+
249
+ "type":"tip",
250
+
251
+ "object":{
252
+
253
+ "id":"56dc0836498ee85362455de5",
254
+
255
+ "createdAt":1457260598,
256
+
257
+ "text":"great selection of heavenly yummy desserts",
258
+
259
+ "type":"user",
260
+
261
+ "canonicalUrl":"https://foursquare.com/item/56dc0836498ee85362455de5",
262
+
263
+ "logView":true,
264
+
265
+ "agreeCount":0,
266
+
267
+ "disagreeCount":0,
268
+
269
+ "todo":{
270
+
271
+ "count":0
272
+
273
+ },
274
+
275
+ "user":{
276
+
277
+ "id":"11175627",
278
+
279
+ "firstName":"Roldan",
280
+
281
+ "lastName":"Toribio",
282
+
283
+ "gender":"male",
284
+
285
+ "photo":{
286
+
287
+ "prefix":"https://fastly.4sqi.net/img/user/",
288
+
289
+ "suffix":"/ZDDPKA4LIZFCVYQ4.jpg"
290
+
291
+ }
292
+
293
+ }
294
+
295
+ }
296
+
297
+ }
298
+
299
+ }
300
+
301
+ ]
302
+
303
+ }
304
+
305
+ }
306
+
307
+ ],
308
+
309
+ "totalResults":112
310
+
311
+ },
312
+
313
+ "context":{
314
+
315
+ "searchLocationNearYou":true,
316
+
317
+ "searchLocationMapBounds":false,
318
+
319
+ "searchLocationType":"NearYou",
320
+
321
+ "currentLocation":{
322
+
323
+ "what":"",
324
+
325
+ "where":"",
326
+
327
+ "feature":{
328
+
329
+ "cc":"JP",
330
+
331
+ "name":"Akihabara",
332
+
333
+ "displayName":"Akihabara, Tokyo, Tōkyō",
334
+
335
+ "woeType":22,
336
+
337
+ "slug":"akihabara-japan",
338
+
339
+ "id":"maponics:10004338",
340
+
341
+ "longId":"10004338",
342
+
343
+ "geometry":{
344
+
345
+ "center":{
346
+
347
+ "lat":35.701304,
348
+
349
+ "lng":139.775174
350
+
351
+ },
352
+
353
+ "bounds":{
354
+
355
+ "ne":{
356
+
357
+ "lat":35.706567,
358
+
359
+ "lng":139.780981
360
+
361
+ },
362
+
363
+ "sw":{
364
+
365
+ "lat":35.6968,
366
+
367
+ "lng":139.769614
368
+
369
+ }
370
+
371
+ }
372
+
373
+ },
374
+
375
+ "encumbered":true
376
+
377
+ },
378
+
379
+ "parents":[
380
+
381
+
382
+
383
+ ]
384
+
385
+ },
386
+
387
+ "boundsSummaryRadius":600,
388
+
389
+ "relatedNeighborhoods":[
390
+
391
+
392
+
393
+ ],
394
+
395
+ "geoParams":{
396
+
397
+ "ll":"35.7020691,139.7753269",
398
+
399
+ "radius":"600"
400
+
401
+ },
402
+
403
+ "geoBounds":{
404
+
405
+ "circle":{
406
+
407
+ "center":{
408
+
409
+ "lat":35.7020691,
410
+
411
+ "lng":139.7753269
412
+
413
+ },
414
+
415
+ "radius":600
416
+
417
+ }
418
+
419
+ }
420
+
421
+ }
422
+
423
+ }
424
+
425
+ }
426
+
427
+ ```
428
+
77
429
  ```Swift
78
430
 
79
431
  struct Empty: Codable {