-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathResponse.ts
421 lines (421 loc) · 23.5 KB
/
Response.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
export default {
"kind": "customsearch#search",
"url": {
"type": "application/json",
"template": "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json"
},
"queries": {
"request": [
{
"title": "Google Custom Search - hello world",
"totalResults": "2390000000",
"searchTerms": "hello world",
"count": 10,
"startIndex": 1,
"inputEncoding": "utf8",
"outputEncoding": "utf8",
"safe": "off",
"cx": "d0279988945de43bb"
}
],
"nextPage": [
{
"title": "Google Custom Search - hello world",
"totalResults": "2390000000",
"searchTerms": "hello world",
"count": 10,
"startIndex": 11,
"inputEncoding": "utf8",
"outputEncoding": "utf8",
"safe": "off",
"cx": "d0279988945de43bb"
}
]
},
"context": {
"title": "Google"
},
"searchInformation": {
"searchTime": 0.285056,
"formattedSearchTime": "0.29",
"totalResults": "2390000000",
"formattedTotalResults": "2,390,000,000"
},
"items": [
{
"kind": "customsearch#result",
"title": "\"Hello, World!\" program - Wikipedia",
"htmlTitle": ""<b>Hello</b>, <b>World</b>!" program - Wikipedia",
"link": "https://en.wikipedia.org/wiki/%22Hello,_World!%22_program",
"displayLink": "en.wikipedia.org",
"snippet": "A \"Hello, World!\" program is generally a computer program that ignores any input and outputs or displays a message similar to \"Hello, World!\".",
"htmlSnippet": "A "<b>Hello</b>, <b>World</b>!" program is generally a computer program that ignores any input and outputs or displays a message similar to "<b>Hello</b>, <b>World</b>!".",
"cacheId": "UInCiDfJyeUJ",
"formattedUrl": "https://en.wikipedia.org/wiki/%22Hello,_World!%22_program",
"htmlFormattedUrl": "https://en.wikipedia.org/wiki/%22<b>Hello</b>,_<b>World</b>!%22_program",
"pagemap": {
"metatags": [
{
"referrer": "origin",
"og:image": "https://upload.wikimedia.org/wikipedia/commons/2/21/Hello_World_Brian_Kernighan_1978.jpg",
"theme-color": "#eaecf0",
"og:image:width": "1200",
"og:type": "website",
"viewport": "width=device-width, initial-scale=1.0, user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0",
"og:title": "\"Hello, World!\" program - Wikipedia",
"og:image:height": "1315",
"format-detection": "telephone=no"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Hello World | Code.org",
"htmlTitle": "<b>Hello World</b> | Code.org",
"link": "https://code.org/helloworld",
"displayLink": "code.org",
"snippet": "In Computer Science 101, the first program many students create is a simple one that outputs an iconic line of text: \"Hello World!\" Say hello to the world ...",
"htmlSnippet": "In Computer Science 101, the first program many students create is a simple one that outputs an iconic line of text: "<b>Hello World</b>!" Say hello to the world ...",
"cacheId": "TWg46TeXY_8J",
"formattedUrl": "https://code.org/helloworld",
"htmlFormattedUrl": "https://code.org/<b>helloworld</b>",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcT3ISD0H1ReEh2CCEWMdDQAeOtVTzO42YiWocPWa5Jnqq6z8_BYniiBtEk",
"width": "310",
"height": "163"
}
],
"metatags": [
{
"og:image": "https://code.org/images/social-media/helloworld-og-image-1200x630.png",
"og:type": "article",
"twitter:title": "Hello World!",
"og:image:width": "1200",
"twitter:card": "summary_large_image",
"og:site_name": "Code.org",
"og:title": "Hello World!",
"og:image:height": "630",
"og:description": "Choose from fun themes to code interactive characters in a world you create in this Hour of Code activity!",
"article:publisher": "https://www.facebook.com/Code.org",
"twitter:image:src": "https://code.org/images/social-media/helloworld-og-image-1200x630.png",
"fb:app_id": "500177453358606",
"viewport": "width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no",
"twitter:description": "Choose from fun themes to code interactive characters in a world you create in this Hour of Code activity",
"og:url": "https://code.org/helloworld"
}
],
"cse_image": [
{
"src": "https://code.org/images/social-media/helloworld-og-image-1200x630.png"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Hello World Modern Mercantile: Online Gift Shop in Philadelphia ...",
"htmlTitle": "<b>Hello World</b> Modern Mercantile: Online Gift Shop in Philadelphia ...",
"link": "https://shophelloworld.com/",
"displayLink": "shophelloworld.com",
"snippet": "Hello World is one of the best online gift stores in Philadelphia. Our gift store features unique items like jewelry, handbags, totes, accessories, ...",
"htmlSnippet": "<b>Hello World</b> is one of the best online gift stores in Philadelphia. Our gift store features unique items like jewelry, handbags, totes, accessories, ...",
"cacheId": "nXxyhCa9L0sJ",
"formattedUrl": "https://shophelloworld.com/",
"htmlFormattedUrl": "https://shop<b>helloworld</b>.com/",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcR_9eiX1_VBoCoVAEPQmEvcXtozYMhIxu6ZXHv1vkTmQthO19hqfyKoJaY",
"width": "260",
"height": "130"
}
],
"organization": [
{
"name": "Hello World Modern Mercantile",
"logo": "https://cdn.shopify.com/s/files/1/0043/9642/files/receiptlogo03_260x.png?v=1614333378",
"url": "https://shophelloworld.com/"
}
],
"metatags": [
{
"theme-color": "#12ce8c",
"og:type": "website",
"twitter:card": "summary_large_image",
"twitter:title": "Online Gift Shop in Philadelphia |Unique Gift Store - Hello World",
"og:site_name": "Hello World Modern Mercantile",
"viewport": "width=device-width,initial-scale=1.0",
"twitter:description": "Hello World is one of the best online gift stores in Philadelphia. Our gift store features unique items like jewelry, handbags, totes, accessories, baby gifts, candles and much more.",
"shopify-digital-wallet": "/439642/digital_wallets/dialog",
"og:title": "Online Gift Shop in Philadelphia |Unique Gift Store - Hello World",
"shopify-checkout-api-token": "5725ca2823da741bd6feea4776d60b94",
"og:url": "https://shophelloworld.com/",
"og:description": "Hello World is one of the best online gift stores in Philadelphia. Our gift store features unique items like jewelry, handbags, totes, accessories, baby gifts, candles and much more."
}
],
"cse_image": [
{
"src": "https://cdn.shopify.com/s/files/1/0043/9642/files/receiptlogo03_260x.png?v=1614333378"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Hello World",
"htmlTitle": "<b>Hello World</b>",
"link": "https://helloworld.raspberrypi.org/",
"displayLink": "helloworld.raspberrypi.org",
"snippet": "Hello World issue 19. Over the last three years, we've seen more than 7 million students around the world put down their schoolwork and take to the streets ...",
"htmlSnippet": "<b>Hello World</b> issue 19. Over the last three years, we've seen more than 7 million students around the world put down their schoolwork and take to the streets ...",
"cacheId": "POS2s4YXPC0J",
"formattedUrl": "https://helloworld.raspberrypi.org/",
"htmlFormattedUrl": "https://<b>helloworld</b>.raspberrypi.org/",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcR4BFDgXHEC2R-hxCPES9qrINsDJrXQBCMSxnbLAHJ_8wGNsqwdc1K_9_w",
"width": "225",
"height": "225"
}
],
"metatags": [
{
"og:image": "https://helloworld.raspberrypi.org/assets/helloworld/meta_image-1e940b77afe31f357ca27e518a38bec065ed86531f12dec73292828707b0ad62.png",
"twitter:card": "summary_large_image",
"twitter:title": "Hello World",
"og:type": "website",
"og:site_name": "Hello World",
"og:title": "Hello World",
"csrf-param": "authenticity_token",
"og:description": "For Computing and Digital Making Educators",
"twitter:creator": "@HelloWorld_Edu",
"twitter:image": "https://helloworld.raspberrypi.org/assets/helloworld/meta_image-1e940b77afe31f357ca27e518a38bec065ed86531f12dec73292828707b0ad62.png",
"twitter:site": "@HelloWorld_Edu",
"viewport": "width=device-width, initial-scale=1",
"csrf-token": "ROZ8UAjDCiBVxL1A7gbDMiwcthzLXbUkPCYDcGAwUvhGbQHv4oZ5xlEsI9ZmDUb9PsKGxZAJVDC1JzIAXrrCmg==",
"og:locale": "en_GB",
"og:url": "https://helloworld.raspberrypi.org/"
}
],
"cse_image": [
{
"src": "https://helloworld.raspberrypi.org/assets/helloworld/meta_image-1e940b77afe31f357ca27e518a38bec065ed86531f12dec73292828707b0ad62.png"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Hello World - GitHub Docs",
"htmlTitle": "<b>Hello World</b> - GitHub Docs",
"link": "https://docs.github.com/en/get-started/quickstart/hello-world",
"displayLink": "docs.github.com",
"snippet": "You'll create your own Hello World repository and learn GitHub's pull request workflow, a popular way to create and review code. In this quickstart guide, ...",
"htmlSnippet": "You'll create your own <b>Hello World</b> repository and learn GitHub's pull request workflow, a popular way to create and review code. In this quickstart guide, ...",
"cacheId": "AZp1k-eTP4sJ",
"formattedUrl": "https://docs.github.com/en/get-started/quickstart/hello-world",
"htmlFormattedUrl": "https://docs.github.com/en/get-started/quickstart/<b>hello</b>-<b>world</b>",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRCwTsxFVHqKiYpNvIA-GSY8M1EYwBczxJKHBwY_QpZi-vlCiuZisBYQKI",
"width": "225",
"height": "225"
}
],
"metatags": [
{
"page-document-type": "article",
"og:image": "https://github.githubassets.com/images/modules/open_graph/github-logo.png",
"og:type": "article",
"og:site_name": "GitHub Docs",
"og:title": "Hello World - GitHub Docs",
"path-article": "get-started/quickstart/hello-world",
"path-version": "free-pro-team@latest",
"path-product": "get-started",
"next-head-count": "29",
"path-language": "en",
"viewport": "width=device-width, initial-scale=1",
"page-type": "quick_start",
"og:url": "https://ghdocs-prod.azurewebsites.net/en/get-started/quickstart/hello-world",
"status": "200"
}
],
"cse_image": [
{
"src": "https://github.githubassets.com/images/modules/open_graph/github-logo.png"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Express \"Hello World\" example",
"htmlTitle": "Express "<b>Hello World</b>" example",
"link": "https://expressjs.com/en/starter/hello-world.html",
"displayLink": "expressjs.com",
"snippet": "Hello world example. Embedded below is essentially the simplest Express app you can create. It is a single file app — not what you'd get if you use the ...",
"htmlSnippet": "<b>Hello world</b> example. Embedded below is essentially the simplest Express app you can create. It is a single file app — not what you'd get if you use the ...",
"cacheId": "Ag5WPLoY5PIJ",
"formattedUrl": "https://expressjs.com/en/starter/hello-world.html",
"htmlFormattedUrl": "https://expressjs.com/en/starter/<b>hello</b>-<b>world</b>.html",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQkDB2aWrpzUyql-VCFAdpHstna-_dqmQ845_hD8YjdljTeTUdoXGUFEYMo",
"width": "374",
"height": "135"
}
],
"metatags": [
{
"og:image": "https://expressjs.com/images/express-facebook-share.png",
"viewport": "width=device-width, initial-scale=1"
}
],
"cse_image": [
{
"src": "https://expressjs.com/images/express-facebook-share.png"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Hello World – React",
"htmlTitle": "<b>Hello World</b> – React",
"link": "https://reactjs.org/docs/hello-world.html",
"displayLink": "reactjs.org",
"snippet": "Hello World. The smallest React example looks like this: const root = ReactDOM.createRoot(document.getElementById('root')); root.render(<h1>Hello, world!",
"htmlSnippet": "<b>Hello World</b>. The smallest React example looks like this: const root = ReactDOM.createRoot(document.getElementById('root')); root.render(<h1><b>Hello</b>, <b>world</b>!",
"cacheId": "We7zpakyqG8J",
"formattedUrl": "https://reactjs.org/docs/hello-world.html",
"htmlFormattedUrl": "https://reactjs.org/docs/<b>hello</b>-<b>world</b>.html",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRfoO6h2pHfrElGwudOq05MGR-ESjebbBJaWuKIJNz6Ut3_SBrPloUxWYM",
"width": "310",
"height": "163"
}
],
"metatags": [
{
"og:image": "https://reactjs.org/logo-og.png",
"og:type": "article",
"fb:app_id": "623268441017527",
"theme-color": "#20232a",
"viewport": "width=device-width, initial-scale=1.0",
"apple-mobile-web-app-capable": "yes",
"apple-mobile-web-app-title": "React",
"og:title": "Hello World – React",
"og:url": "https://reactjs.org/docs/hello-world.html",
"og:description": "A JavaScript library for building user interfaces"
}
],
"cse_image": [
{
"src": "https://reactjs.org/logo-og.png"
}
]
}
},
{
"kind": "customsearch#result",
"title": "hello-world - Official Image | Docker Hub",
"htmlTitle": "<b>hello</b>-<b>world</b> - Official Image | Docker Hub",
"link": "https://hub.docker.com/_/hello-world",
"displayLink": "hub.docker.com",
"snippet": "hello-world. Docker Official Image. •. 1B+. •. 2.0K. Hello World! (an example of minimal Dockerization). docker pull hello-world.",
"htmlSnippet": "<b>hello</b>-<b>world</b>. Docker Official Image. •. 1B+. •. 2.0K. <b>Hello World</b>! (an example of minimal Dockerization). docker pull <b>hello</b>-<b>world</b>.",
"cacheId": "tEhWFJYWINkJ",
"formattedUrl": "https://hub.docker.com/_/hello-world",
"htmlFormattedUrl": "https://hub.docker.com/_/<b>hello</b>-<b>world</b>",
"pagemap": {
"metatags": [
{
"viewport": "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Hello World Communications |",
"htmlTitle": "<b>Hello World</b> Communications |",
"link": "https://hwc.tv/",
"displayLink": "hwc.tv",
"snippet": "\"Hello World's innate ability to accommodate all our production needs is unrivaled, and our recent collaboration in the virtual reality space was a successful ...",
"htmlSnippet": ""<b>Hello World's</b> innate ability to accommodate all our production needs is unrivaled, and our recent collaboration in the virtual reality space was a successful ...",
"cacheId": "C5iRyV7JkbIJ",
"formattedUrl": "https://hwc.tv/",
"htmlFormattedUrl": "https://hwc.tv/",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRAiADOTj-p3xl-zAEMqYEbk-qWDBgH8kbFq7tzMioK7KUCpTChKAVPvDqS",
"width": "135",
"height": "135"
}
],
"metatags": [
{
"test": "test try",
"viewport": "width=device-width, initial-scale=1, maximum-scale=1",
"author": "Hello World Communications",
"format-detection": "telephone=no"
}
],
"cse_image": [
{
"src": "https://hwc.tv/wp-content/themes/hwc/images/new-icons/new-videoproduction-icon.png"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Hello World",
"htmlTitle": "<b>Hello World</b>",
"link": "https://www.helloworldstudio.org/",
"displayLink": "www.helloworldstudio.org",
"snippet": "Hello World. Computer science enrichment programs taught by software engineers, AI architects, data scientists and educators on a mission to equip and ...",
"htmlSnippet": "<b>Hello World</b>. Computer science enrichment programs taught by software engineers, AI architects, data scientists and educators on a mission to equip and ...",
"cacheId": "7GkArFo05XQJ",
"formattedUrl": "https://www.helloworldstudio.org/",
"htmlFormattedUrl": "https://www.<b>helloworlds</b>tudio.org/",
"pagemap": {
"cse_thumbnail": [
{
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQSZW4MuD-c55fidnwZddfgznWsclHhmQd-x2FBsBygv0iazG-wL9hKMefD",
"width": "275",
"height": "183"
}
],
"metatags": [
{
"og:type": "website",
"twitter:title": "Hello World",
"twitter:card": "summary",
"og:site_name": "Hello World",
"viewport": "width=device-width, initial-scale=1",
"twitter:url": "https://www.helloworldstudio.org",
"twitter:description": "Hello World Computer science enrichment programs taught by software engineers, AI architects, data scientists and educators on a mission to equip and empower next generation innovators Virtual Courses",
"og:title": "Hello World",
"og:url": "https://www.helloworldstudio.org",
"og:description": "Hello World Computer science enrichment programs taught by software engineers, AI architects, data scientists and educators on a mission to equip and empower next generation innovators Virtual Courses"
}
],
"cse_image": [
{
"src": "https://static1.squarespace.com/static/56f18ec601dbae5d39d46fe8/t/5a76270d0d929789ffe4a58a/1517692686077/HWS-5113.jpg"
}
]
}
}
]
}