teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

コードの追加

2019/05/13 00:51

投稿

totot
totot

スコア20

title CHANGED
File without changes
body CHANGED
@@ -36,6 +36,182 @@
36
36
  }
37
37
  }
38
38
  ```
39
+
40
+ ```Json
41
+ {
42
+ "meta":{
43
+ "code":200,
44
+ "requestId":"5cd6fa5e9fb6b75700851759"
45
+ },
46
+ "response":{
47
+ "group":{
48
+ "results":[
49
+ {
50
+ "displayType":"venue",
51
+ "venue":{
52
+ "id":"4c4fde46dcb5d13ad7b10108",
53
+ "name":"Fruit de saison (フルーフ・デゥ・セゾン)",
54
+ "contact":{
55
+
56
+ },
57
+ "location":{
58
+ "address":"外神田4-11-2",
59
+ "lat":35.702276108565556,
60
+ "lng":139.77286384637375,
61
+ "labeledLatLngs":[
62
+ {
63
+ "label":"display",
64
+ "lat":35.702276108565556,
65
+ "lng":139.77286384637375
66
+ }
67
+ ],
68
+ "distance":223,
69
+ "postalCode":"101-0021",
70
+ "cc":"JP",
71
+ "city":"東京",
72
+ "state":"東京都",
73
+ "country":"日本",
74
+ "formattedAddress":[
75
+ "外神田4-11-2",
76
+ "千代田区, 東京都",
77
+ "101-0021",
78
+ "日本"
79
+ ]
80
+ },
81
+ "categories":[
82
+ {
83
+ "id":"4bf58dd8d48988d16d941735",
84
+ "name":"Café",
85
+ "pluralName":"Cafés",
86
+ "shortName":"Café",
87
+ "icon":{
88
+ "prefix":"https://ss3.4sqi.net/img/categories_v2/food/cafe_",
89
+ "suffix":".png"
90
+ },
91
+ "primary":true
92
+ }
93
+ ],
94
+ "verified":false,
95
+ "stats":{
96
+ "tipCount":0,
97
+ "usersCount":0,
98
+ "checkinsCount":0,
99
+ "visitsCount":0
100
+ },
101
+ "dislike":false,
102
+ "ok":false,
103
+ "beenHere":{
104
+ "count":0,
105
+ "lastCheckinExpiredAt":0,
106
+ "marked":false,
107
+ "unconfirmedCount":0
108
+ }
109
+ },
110
+ "id":"5cd6fa5fa795bd0039c46dfc",
111
+ "photo":{
112
+ "id":"51bfd28d498e80f211f96907",
113
+ "createdAt":1371525773,
114
+ "prefix":"https://fastly.4sqi.net/img/general/",
115
+ "suffix":"/52296049_SkW5N14j2phk0gmnmQ3XGhBFCjy5KJkak2fhB7tKju4.jpg",
116
+ "width":720,
117
+ "height":960,
118
+ "visibility":"public"
119
+ },
120
+ "snippets":{
121
+ "count":1,
122
+ "items":[
123
+ {
124
+ "detail":{
125
+ "type":"tip",
126
+ "object":{
127
+ "id":"56dc0836498ee85362455de5",
128
+ "createdAt":1457260598,
129
+ "text":"great selection of heavenly yummy desserts",
130
+ "type":"user",
131
+ "canonicalUrl":"https://foursquare.com/item/56dc0836498ee85362455de5",
132
+ "logView":true,
133
+ "agreeCount":0,
134
+ "disagreeCount":0,
135
+ "todo":{
136
+ "count":0
137
+ },
138
+ "user":{
139
+ "id":"11175627",
140
+ "firstName":"Roldan",
141
+ "lastName":"Toribio",
142
+ "gender":"male",
143
+ "photo":{
144
+ "prefix":"https://fastly.4sqi.net/img/user/",
145
+ "suffix":"/ZDDPKA4LIZFCVYQ4.jpg"
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ ]
152
+ }
153
+ }
154
+ ],
155
+ "totalResults":112
156
+ },
157
+ "context":{
158
+ "searchLocationNearYou":true,
159
+ "searchLocationMapBounds":false,
160
+ "searchLocationType":"NearYou",
161
+ "currentLocation":{
162
+ "what":"",
163
+ "where":"",
164
+ "feature":{
165
+ "cc":"JP",
166
+ "name":"Akihabara",
167
+ "displayName":"Akihabara, Tokyo, Tōkyō",
168
+ "woeType":22,
169
+ "slug":"akihabara-japan",
170
+ "id":"maponics:10004338",
171
+ "longId":"10004338",
172
+ "geometry":{
173
+ "center":{
174
+ "lat":35.701304,
175
+ "lng":139.775174
176
+ },
177
+ "bounds":{
178
+ "ne":{
179
+ "lat":35.706567,
180
+ "lng":139.780981
181
+ },
182
+ "sw":{
183
+ "lat":35.6968,
184
+ "lng":139.769614
185
+ }
186
+ }
187
+ },
188
+ "encumbered":true
189
+ },
190
+ "parents":[
191
+
192
+ ]
193
+ },
194
+ "boundsSummaryRadius":600,
195
+ "relatedNeighborhoods":[
196
+
197
+ ],
198
+ "geoParams":{
199
+ "ll":"35.7020691,139.7753269",
200
+ "radius":"600"
201
+ },
202
+ "geoBounds":{
203
+ "circle":{
204
+ "center":{
205
+ "lat":35.7020691,
206
+ "lng":139.7753269
207
+ },
208
+ "radius":600
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ ```
39
215
  ```Swift
40
216
  struct Empty: Codable {
41
217
  let response: Response