@apiverve/wordsearch 1.1.14 → 1.2.2
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.
- package/LICENSE +20 -20
- package/README.md +340 -343
- package/index.d.ts +46 -34
- package/index.js +209 -209
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -1,64 +1,61 @@
|
|
|
1
|
-
# Word Search Generator API
|
|
2
|
-
|
|
3
|
-
Word Search Generator creates customizable word search puzzles with configurable grid size, word placement, and difficulty levels.
|
|
4
|
-
|
|
5
|
-
](https://www.npmjs.com/package/@apiverve/wordsearch)
|
|
6
|
+
|
|
7
|
+
This is a JavaScript wrapper for the [Word Search Generator API](https://apiverve.com/marketplace/wordsearch?utm_source=npm&utm_medium=referral&utm_content=readme)
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
Using npm:
|
|
14
|
+
```shell
|
|
15
|
+
npm install @apiverve/wordsearch
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Using yarn:
|
|
19
|
+
```shell
|
|
20
|
+
yarn add @apiverve/wordsearch
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Configuration
|
|
26
|
+
|
|
27
|
+
Before using the Word Search Generator API client, you have to setup your account and obtain your API Key.
|
|
28
|
+
You can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=npm&utm_medium=referral&utm_content=readme)
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
|
|
34
|
+
[Get started with the Quick Start Guide](https://docs.apiverve.com/quickstart?utm_source=npm&utm_medium=referral&utm_content=readme)
|
|
35
|
+
|
|
36
|
+
The Word Search Generator API documentation is found here: [https://docs.apiverve.com/ref/wordsearch](https://docs.apiverve.com/ref/wordsearch?utm_source=npm&utm_medium=referral&utm_content=readme).
|
|
37
|
+
You can find parameters, example responses, and status codes documented here.
|
|
38
|
+
|
|
39
|
+
### Setup
|
|
40
|
+
|
|
41
|
+
```javascript
|
|
42
|
+
const wordsearchAPI = require('@apiverve/wordsearch');
|
|
43
|
+
const api = new wordsearchAPI({
|
|
44
|
+
api_key: '[YOUR_API_KEY]'
|
|
45
|
+
});
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Usage
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
### Perform Request
|
|
55
|
+
|
|
56
|
+
Using the API is simple. All you have to do is make a request. The API will return a response with the data you requested.
|
|
57
|
+
|
|
58
|
+
```javascript
|
|
62
59
|
var query = {
|
|
63
60
|
"words": [
|
|
64
61
|
"PUZZLE",
|
|
@@ -71,24 +68,24 @@ var query = {
|
|
|
71
68
|
],
|
|
72
69
|
"size": 15,
|
|
73
70
|
"difficulty": "medium"
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
api.execute(query, function (error, data) {
|
|
77
|
-
if (error) {
|
|
78
|
-
return console.error(error);
|
|
79
|
-
} else {
|
|
80
|
-
console.log(data);
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
### Using Promises
|
|
88
|
-
|
|
89
|
-
You can also use promises to make requests. The API returns a promise that you can use to handle the response.
|
|
90
|
-
|
|
91
|
-
```javascript
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
api.execute(query, function (error, data) {
|
|
74
|
+
if (error) {
|
|
75
|
+
return console.error(error);
|
|
76
|
+
} else {
|
|
77
|
+
console.log(data);
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
### Using Promises
|
|
85
|
+
|
|
86
|
+
You can also use promises to make requests. The API returns a promise that you can use to handle the response.
|
|
87
|
+
|
|
88
|
+
```javascript
|
|
92
89
|
var query = {
|
|
93
90
|
"words": [
|
|
94
91
|
"PUZZLE",
|
|
@@ -101,25 +98,25 @@ var query = {
|
|
|
101
98
|
],
|
|
102
99
|
"size": 15,
|
|
103
100
|
"difficulty": "medium"
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
api.execute(query)
|
|
107
|
-
.then(data => {
|
|
108
|
-
console.log(data);
|
|
109
|
-
})
|
|
110
|
-
.catch(error => {
|
|
111
|
-
console.error(error);
|
|
112
|
-
});
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
### Using Async/Await
|
|
118
|
-
|
|
119
|
-
You can also use async/await to make requests. The API returns a promise that you can use to handle the response.
|
|
120
|
-
|
|
121
|
-
```javascript
|
|
122
|
-
async function makeRequest() {
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
api.execute(query)
|
|
104
|
+
.then(data => {
|
|
105
|
+
console.log(data);
|
|
106
|
+
})
|
|
107
|
+
.catch(error => {
|
|
108
|
+
console.error(error);
|
|
109
|
+
});
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
### Using Async/Await
|
|
115
|
+
|
|
116
|
+
You can also use async/await to make requests. The API returns a promise that you can use to handle the response.
|
|
117
|
+
|
|
118
|
+
```javascript
|
|
119
|
+
async function makeRequest() {
|
|
123
120
|
var query = {
|
|
124
121
|
"words": [
|
|
125
122
|
"PUZZLE",
|
|
@@ -132,337 +129,337 @@ async function makeRequest() {
|
|
|
132
129
|
],
|
|
133
130
|
"size": 15,
|
|
134
131
|
"difficulty": "medium"
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
try {
|
|
138
|
-
const data = await api.execute(query);
|
|
139
|
-
console.log(data);
|
|
140
|
-
} catch (error) {
|
|
141
|
-
console.error(error);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
---
|
|
147
|
-
|
|
148
|
-
## Example Response
|
|
149
|
-
|
|
150
|
-
```json
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
try {
|
|
135
|
+
const data = await api.execute(query);
|
|
136
|
+
console.log(data);
|
|
137
|
+
} catch (error) {
|
|
138
|
+
console.error(error);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Example Response
|
|
146
|
+
|
|
147
|
+
```json
|
|
151
148
|
{
|
|
152
149
|
"status": "ok",
|
|
153
150
|
"error": null,
|
|
154
151
|
"data": {
|
|
155
152
|
"grid": [
|
|
156
153
|
[
|
|
157
|
-
"
|
|
154
|
+
"P",
|
|
158
155
|
"C",
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
156
|
+
"R",
|
|
157
|
+
"J",
|
|
158
|
+
"W",
|
|
159
|
+
"R",
|
|
160
|
+
"D",
|
|
161
|
+
"K",
|
|
162
162
|
"G",
|
|
163
163
|
"D",
|
|
164
|
+
"V",
|
|
165
|
+
"F",
|
|
166
|
+
"J",
|
|
167
|
+
"B",
|
|
168
|
+
"Q"
|
|
169
|
+
],
|
|
170
|
+
[
|
|
171
|
+
"J",
|
|
172
|
+
"F",
|
|
164
173
|
"O",
|
|
165
|
-
"
|
|
174
|
+
"J",
|
|
175
|
+
"E",
|
|
166
176
|
"B",
|
|
167
|
-
"
|
|
177
|
+
"X",
|
|
178
|
+
"I",
|
|
179
|
+
"A",
|
|
180
|
+
"A",
|
|
181
|
+
"S",
|
|
168
182
|
"S",
|
|
169
183
|
"H",
|
|
170
|
-
"
|
|
171
|
-
"
|
|
184
|
+
"X",
|
|
185
|
+
"G"
|
|
172
186
|
],
|
|
173
187
|
[
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"D",
|
|
177
|
-
"Z",
|
|
178
|
-
"M",
|
|
179
|
-
"B",
|
|
188
|
+
"L",
|
|
189
|
+
"N",
|
|
180
190
|
"N",
|
|
181
|
-
"A",
|
|
182
191
|
"Q",
|
|
183
|
-
"B",
|
|
184
192
|
"L",
|
|
185
|
-
"
|
|
193
|
+
"X",
|
|
186
194
|
"G",
|
|
187
|
-
"
|
|
188
|
-
"
|
|
195
|
+
"E",
|
|
196
|
+
"M",
|
|
197
|
+
"X",
|
|
198
|
+
"F",
|
|
199
|
+
"Q",
|
|
200
|
+
"X",
|
|
201
|
+
"V",
|
|
202
|
+
"B"
|
|
189
203
|
],
|
|
190
204
|
[
|
|
191
|
-
"
|
|
205
|
+
"S",
|
|
206
|
+
"J",
|
|
192
207
|
"Y",
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
"
|
|
208
|
+
"L",
|
|
209
|
+
"X",
|
|
210
|
+
"Z",
|
|
211
|
+
"T",
|
|
212
|
+
"X",
|
|
213
|
+
"E",
|
|
214
|
+
"A",
|
|
215
|
+
"K",
|
|
216
|
+
"M",
|
|
217
|
+
"X",
|
|
218
|
+
"C",
|
|
219
|
+
"Y"
|
|
220
|
+
],
|
|
221
|
+
[
|
|
198
222
|
"S",
|
|
223
|
+
"G",
|
|
199
224
|
"F",
|
|
200
|
-
"U",
|
|
201
|
-
"W",
|
|
202
225
|
"O",
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
226
|
+
"E",
|
|
227
|
+
"J",
|
|
228
|
+
"F",
|
|
229
|
+
"X",
|
|
230
|
+
"M",
|
|
231
|
+
"W",
|
|
232
|
+
"V",
|
|
233
|
+
"E",
|
|
234
|
+
"I",
|
|
235
|
+
"M",
|
|
236
|
+
"X"
|
|
206
237
|
],
|
|
207
238
|
[
|
|
208
239
|
"W",
|
|
209
|
-
"
|
|
210
|
-
"V",
|
|
211
|
-
"O",
|
|
212
|
-
"X",
|
|
213
|
-
"Z",
|
|
240
|
+
"D",
|
|
214
241
|
"V",
|
|
242
|
+
"Y",
|
|
243
|
+
"D",
|
|
244
|
+
"T",
|
|
245
|
+
"T",
|
|
246
|
+
"N",
|
|
215
247
|
"F",
|
|
216
|
-
"E",
|
|
217
|
-
"L",
|
|
218
|
-
"Z",
|
|
219
|
-
"Z",
|
|
220
248
|
"U",
|
|
249
|
+
"K",
|
|
250
|
+
"L",
|
|
221
251
|
"P",
|
|
222
|
-
"
|
|
252
|
+
"C",
|
|
253
|
+
"T"
|
|
223
254
|
],
|
|
224
255
|
[
|
|
225
|
-
"
|
|
256
|
+
"E",
|
|
257
|
+
"R",
|
|
258
|
+
"H",
|
|
259
|
+
"M",
|
|
260
|
+
"B",
|
|
261
|
+
"N",
|
|
262
|
+
"T",
|
|
263
|
+
"B",
|
|
226
264
|
"M",
|
|
227
|
-
"W",
|
|
228
|
-
"P",
|
|
229
|
-
"L",
|
|
230
|
-
"W",
|
|
231
|
-
"U",
|
|
232
|
-
"P",
|
|
233
|
-
"P",
|
|
234
|
-
"W",
|
|
235
|
-
"K",
|
|
236
265
|
"A",
|
|
237
|
-
"E",
|
|
238
266
|
"D",
|
|
239
|
-
"
|
|
267
|
+
"Z",
|
|
268
|
+
"X",
|
|
269
|
+
"A",
|
|
270
|
+
"D"
|
|
240
271
|
],
|
|
241
272
|
[
|
|
242
|
-
"I",
|
|
243
273
|
"D",
|
|
244
274
|
"O",
|
|
245
|
-
"
|
|
246
|
-
"P",
|
|
275
|
+
"G",
|
|
247
276
|
"S",
|
|
277
|
+
"Y",
|
|
248
278
|
"E",
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
279
|
+
"B",
|
|
280
|
+
"E",
|
|
281
|
+
"T",
|
|
252
282
|
"H",
|
|
283
|
+
"I",
|
|
253
284
|
"Z",
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
285
|
+
"K",
|
|
286
|
+
"D",
|
|
287
|
+
"P"
|
|
257
288
|
],
|
|
258
289
|
[
|
|
259
|
-
"
|
|
290
|
+
"F",
|
|
291
|
+
"W",
|
|
260
292
|
"S",
|
|
293
|
+
"E",
|
|
294
|
+
"A",
|
|
261
295
|
"R",
|
|
262
|
-
"L",
|
|
263
296
|
"C",
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"W",
|
|
267
|
-
"Q",
|
|
268
|
-
"U",
|
|
297
|
+
"H",
|
|
298
|
+
"R",
|
|
269
299
|
"G",
|
|
270
|
-
"F",
|
|
271
|
-
"Y",
|
|
272
|
-
"Y",
|
|
273
|
-
"I"
|
|
274
|
-
],
|
|
275
|
-
[
|
|
276
|
-
"D",
|
|
277
|
-
"P",
|
|
278
|
-
"D",
|
|
279
|
-
"T",
|
|
280
|
-
"J",
|
|
281
|
-
"E",
|
|
282
300
|
"X",
|
|
283
301
|
"U",
|
|
284
|
-
"E",
|
|
285
|
-
"B",
|
|
286
|
-
"E",
|
|
287
|
-
"K",
|
|
288
|
-
"D",
|
|
289
302
|
"B",
|
|
290
|
-
"
|
|
303
|
+
"Y",
|
|
304
|
+
"D"
|
|
291
305
|
],
|
|
292
306
|
[
|
|
293
|
-
"
|
|
307
|
+
"H",
|
|
308
|
+
"C",
|
|
309
|
+
"G",
|
|
310
|
+
"E",
|
|
311
|
+
"N",
|
|
294
312
|
"B",
|
|
295
313
|
"K",
|
|
296
|
-
"D",
|
|
297
|
-
"N",
|
|
298
|
-
"D",
|
|
299
314
|
"E",
|
|
300
|
-
"
|
|
301
|
-
"
|
|
302
|
-
"
|
|
303
|
-
"B",
|
|
304
|
-
"Z",
|
|
305
|
-
"N",
|
|
315
|
+
"L",
|
|
316
|
+
"S",
|
|
317
|
+
"E",
|
|
306
318
|
"P",
|
|
307
|
-
"
|
|
319
|
+
"O",
|
|
320
|
+
"E",
|
|
321
|
+
"N"
|
|
308
322
|
],
|
|
309
323
|
[
|
|
310
|
-
"
|
|
311
|
-
"
|
|
312
|
-
"M",
|
|
313
|
-
"K",
|
|
314
|
-
"V",
|
|
324
|
+
"P",
|
|
325
|
+
"A",
|
|
315
326
|
"D",
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"
|
|
327
|
+
"W",
|
|
328
|
+
"D",
|
|
329
|
+
"D",
|
|
330
|
+
"K",
|
|
331
|
+
"A",
|
|
319
332
|
"T",
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
333
|
+
"E",
|
|
334
|
+
"A",
|
|
335
|
+
"A",
|
|
336
|
+
"G",
|
|
337
|
+
"R",
|
|
324
338
|
"I"
|
|
325
339
|
],
|
|
326
340
|
[
|
|
327
|
-
"
|
|
328
|
-
"
|
|
341
|
+
"C",
|
|
342
|
+
"T",
|
|
343
|
+
"C",
|
|
344
|
+
"E",
|
|
329
345
|
"Q",
|
|
330
|
-
"
|
|
331
|
-
"J",
|
|
332
|
-
"I",
|
|
333
|
-
"A",
|
|
334
|
-
"I",
|
|
346
|
+
"W",
|
|
335
347
|
"S",
|
|
336
|
-
"
|
|
348
|
+
"Q",
|
|
349
|
+
"O",
|
|
337
350
|
"W",
|
|
338
|
-
"
|
|
339
|
-
"
|
|
340
|
-
"
|
|
341
|
-
"
|
|
351
|
+
"X",
|
|
352
|
+
"R",
|
|
353
|
+
"O",
|
|
354
|
+
"E",
|
|
355
|
+
"F"
|
|
342
356
|
],
|
|
343
357
|
[
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
358
|
+
"P",
|
|
359
|
+
"E",
|
|
360
|
+
"S",
|
|
361
|
+
"I",
|
|
348
362
|
"F",
|
|
349
|
-
"
|
|
363
|
+
"L",
|
|
350
364
|
"G",
|
|
351
|
-
"M",
|
|
352
365
|
"E",
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
"
|
|
357
|
-
"
|
|
366
|
+
"N",
|
|
367
|
+
"V",
|
|
368
|
+
"X",
|
|
369
|
+
"I",
|
|
370
|
+
"V",
|
|
371
|
+
"K",
|
|
358
372
|
"I"
|
|
359
373
|
],
|
|
360
374
|
[
|
|
375
|
+
"T",
|
|
376
|
+
"G",
|
|
377
|
+
"G",
|
|
378
|
+
"Z",
|
|
379
|
+
"X",
|
|
380
|
+
"A",
|
|
361
381
|
"D",
|
|
362
|
-
"N",
|
|
363
|
-
"P",
|
|
364
|
-
"P",
|
|
365
|
-
"I",
|
|
366
382
|
"A",
|
|
367
|
-
"U",
|
|
368
383
|
"F",
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
"M",
|
|
384
|
+
"S",
|
|
385
|
+
"U",
|
|
386
|
+
"D",
|
|
387
|
+
"N",
|
|
388
|
+
"S",
|
|
375
389
|
"P"
|
|
376
390
|
],
|
|
377
391
|
[
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"P",
|
|
381
|
-
"S",
|
|
382
|
-
"R",
|
|
383
|
-
"E",
|
|
384
|
-
"T",
|
|
392
|
+
"Z",
|
|
393
|
+
"J",
|
|
385
394
|
"T",
|
|
386
|
-
"E",
|
|
387
395
|
"L",
|
|
388
|
-
"
|
|
396
|
+
"N",
|
|
397
|
+
"E",
|
|
389
398
|
"D",
|
|
390
|
-
"T",
|
|
391
|
-
"W",
|
|
392
|
-
"S"
|
|
393
|
-
],
|
|
394
|
-
[
|
|
395
|
-
"Y",
|
|
396
|
-
"G",
|
|
397
|
-
"V",
|
|
398
|
-
"K",
|
|
399
|
-
"X",
|
|
400
|
-
"G",
|
|
401
399
|
"D",
|
|
400
|
+
"I",
|
|
401
|
+
"H",
|
|
402
|
+
"Z",
|
|
402
403
|
"O",
|
|
403
|
-
"
|
|
404
|
-
"
|
|
405
|
-
"
|
|
406
|
-
"R",
|
|
407
|
-
"W",
|
|
408
|
-
"T",
|
|
409
|
-
"F"
|
|
404
|
+
"A",
|
|
405
|
+
"A",
|
|
406
|
+
"A"
|
|
410
407
|
]
|
|
411
408
|
],
|
|
412
409
|
"words": [
|
|
413
410
|
{
|
|
414
411
|
"word": "LETTERS",
|
|
415
412
|
"start": {
|
|
416
|
-
"row":
|
|
417
|
-
"col":
|
|
413
|
+
"row": 3,
|
|
414
|
+
"col": 3
|
|
418
415
|
},
|
|
419
|
-
"direction": "
|
|
416
|
+
"direction": "diagonal-down-right"
|
|
420
417
|
},
|
|
421
418
|
{
|
|
422
419
|
"word": "PUZZLE",
|
|
423
420
|
"start": {
|
|
424
|
-
"row":
|
|
425
|
-
"col":
|
|
421
|
+
"row": 9,
|
|
422
|
+
"col": 11
|
|
426
423
|
},
|
|
427
|
-
"direction": "
|
|
424
|
+
"direction": "up"
|
|
428
425
|
},
|
|
429
426
|
{
|
|
430
427
|
"word": "SEARCH",
|
|
431
428
|
"start": {
|
|
432
|
-
"row":
|
|
433
|
-
"col":
|
|
429
|
+
"row": 8,
|
|
430
|
+
"col": 2
|
|
434
431
|
},
|
|
435
432
|
"direction": "right"
|
|
436
433
|
},
|
|
437
434
|
{
|
|
438
435
|
"word": "HIDDEN",
|
|
439
436
|
"start": {
|
|
440
|
-
"row":
|
|
441
|
-
"col":
|
|
437
|
+
"row": 14,
|
|
438
|
+
"col": 9
|
|
442
439
|
},
|
|
443
|
-
"direction": "
|
|
440
|
+
"direction": "left"
|
|
444
441
|
},
|
|
445
442
|
{
|
|
446
443
|
"word": "WORD",
|
|
447
444
|
"start": {
|
|
448
|
-
"row":
|
|
449
|
-
"col":
|
|
445
|
+
"row": 8,
|
|
446
|
+
"col": 1
|
|
450
447
|
},
|
|
451
|
-
"direction": "
|
|
448
|
+
"direction": "up"
|
|
452
449
|
},
|
|
453
450
|
{
|
|
454
451
|
"word": "GAME",
|
|
455
452
|
"start": {
|
|
456
|
-
"row":
|
|
457
|
-
"col":
|
|
453
|
+
"row": 0,
|
|
454
|
+
"col": 8
|
|
458
455
|
},
|
|
459
|
-
"direction": "
|
|
456
|
+
"direction": "down"
|
|
460
457
|
},
|
|
461
458
|
{
|
|
462
459
|
"word": "FIND",
|
|
463
460
|
"start": {
|
|
464
|
-
"row":
|
|
465
|
-
"col":
|
|
461
|
+
"row": 11,
|
|
462
|
+
"col": 14
|
|
466
463
|
},
|
|
467
464
|
"direction": "up"
|
|
468
465
|
}
|
|
@@ -470,50 +467,50 @@ async function makeRequest() {
|
|
|
470
467
|
"wordCount": 7,
|
|
471
468
|
"size": 15,
|
|
472
469
|
"difficulty": "medium",
|
|
473
|
-
"html": "<html><head><title>Word Search Puzzle</title><style>body {font-family: Arial, sans-serif; padding: 20px;}.container {display: flex; gap: 40px;}table {border-collapse: collapse;}td {width: 30px; height: 30px; text-align: center; font-size: 18px; font-weight: bold; border: 1px solid #ccc;}.word-list {font-size: 16px;}.word-list h3 {margin-bottom: 10px;}.word-list ul {list-style: none; padding: 0;}.word-list li {margin: 5px 0;}</style></head><body><div class='container'><div><table><tr><td>
|
|
470
|
+
"html": "<html><head><title>Word Search Puzzle</title><style>body {font-family: Arial, sans-serif; padding: 20px;}.container {display: flex; gap: 40px;}table {border-collapse: collapse;}td {width: 30px; height: 30px; text-align: center; font-size: 18px; font-weight: bold; border: 1px solid #ccc;}.word-list {font-size: 16px;}.word-list h3 {margin-bottom: 10px;}.word-list ul {list-style: none; padding: 0;}.word-list li {margin: 5px 0;}</style></head><body><div class='container'><div><table><tr><td>P</td><td>C</td><td>R</td><td>J</td><td>W</td><td>R</td><td>D</td><td>K</td><td>G</td><td>D</td><td>V</td><td>F</td><td>J</td><td>B</td><td>Q</td></tr><tr><td>J</td><td>F</td><td>O</td><td>J</td><td>E</td><td>B</td><td>X</td><td>I</td><td>A</td><td>A</td><td>S</td><td>S</td><td>H</td><td>X</td><td>G</td></tr><tr><td>L</td><td>N</td><td>N</td><td>Q</td><td>L</td><td>X</td><td>G</td><td>E</td><td>M</td><td>X</td><td>F</td><td>Q</td><td>X</td><td>V</td><td>B</td></tr><tr><td>S</td><td>J</td><td>Y</td><td>L</td><td>X</td><td>Z</td><td>T</td><td>X</td><td>E</td><td>A</td><td>K</td><td>M</td><td>X</td><td>C</td><td>Y</td></tr><tr><td>S</td><td>G</td><td>F</td><td>O</td><td>E</td><td>J</td><td>F</td><td>X</td><td>M</td><td>W</td><td>V</td><td>E</td><td>I</td><td>M</td><td>X</td></tr><tr><td>W</td><td>D</td><td>V</td><td>Y</td><td>D</td><td>T</td><td>T</td><td>N</td><td>F</td><td>U</td><td>K</td><td>L</td><td>P</td><td>C</td><td>T</td></tr><tr><td>E</td><td>R</td><td>H</td><td>M</td><td>B</td><td>N</td><td>T</td><td>B</td><td>M</td><td>A</td><td>D</td><td>Z</td><td>X</td><td>A</td><td>D</td></tr><tr><td>D</td><td>O</td><td>G</td><td>S</td><td>Y</td><td>E</td><td>B</td><td>E</td><td>T</td><td>H</td><td>I</td><td>Z</td><td>K</td><td>D</td><td>P</td></tr><tr><td>F</td><td>W</td><td>S</td><td>E</td><td>A</td><td>R</td><td>C</td><td>H</td><td>R</td><td>G</td><td>X</td><td>U</td><td>B</td><td>Y</td><td>D</td></tr><tr><td>H</td><td>C</td><td>G</td><td>E</td><td>N</td><td>B</td><td>K</td><td>E</td><td>L</td><td>S</td><td>E</td><td>P</td><td>O</td><td>E</td><td>N</td></tr><tr><td>P</td><td>A</td><td>D</td><td>W</td><td>D</td><td>D</td><td>K</td><td>A</td><td>T</td><td>E</td><td>A</td><td>A</td><td>G</td><td>R</td><td>I</td></tr><tr><td>C</td><td>T</td><td>C</td><td>E</td><td>Q</td><td>W</td><td>S</td><td>Q</td><td>O</td><td>W</td><td>X</td><td>R</td><td>O</td><td>E</td><td>F</td></tr><tr><td>P</td><td>E</td><td>S</td><td>I</td><td>F</td><td>L</td><td>G</td><td>E</td><td>N</td><td>V</td><td>X</td><td>I</td><td>V</td><td>K</td><td>I</td></tr><tr><td>T</td><td>G</td><td>G</td><td>Z</td><td>X</td><td>A</td><td>D</td><td>A</td><td>F</td><td>S</td><td>U</td><td>D</td><td>N</td><td>S</td><td>P</td></tr><tr><td>Z</td><td>J</td><td>T</td><td>L</td><td>N</td><td>E</td><td>D</td><td>D</td><td>I</td><td>H</td><td>Z</td><td>O</td><td>A</td><td>A</td><td>A</td></tr></table></div><div class='word-list'><h3>Find these words:</h3><ul><li>LETTERS</li><li>PUZZLE</li><li>SEARCH</li><li>HIDDEN</li><li>WORD</li><li>GAME</li><li>FIND</li></ul></div></div></body></html>",
|
|
474
471
|
"image": {
|
|
475
|
-
"imageName": "
|
|
472
|
+
"imageName": "0ce84c70-c791-40f9-adfa-2ad3823667f7_puzzle.png",
|
|
476
473
|
"format": ".png",
|
|
477
|
-
"downloadURL": "https://storage.googleapis.com/apiverve
|
|
478
|
-
"expires":
|
|
474
|
+
"downloadURL": "https://storage.googleapis.com/apiverve/APIData/wordsearch/0ce84c70-c791-40f9-adfa-2ad3823667f7_puzzle.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010772&Signature=QOHSnr40T1DxKtie7xCSTwnqNwfgaur%2BUZDwPf8xhgiaynJPDQjvrVJwZBlkuSFXQFyd212HYyui%2BMUjHIVhMvL8TaGUucqOvXhsaXXl9p5vzQhGsGP2crtP8U94NpXonrL0GjnmFmFFaQOJELbcCqMLfTl5XjArtNsMTp0%2Bj3b8DeL6ljMZe09sRgL5i7cslA%2BLljRRX20Dbd2%2BuqR1r2aGY6pMZEqr7djDDF3uLNnyPq8M2wKPX243FASrcl3URyXZMkVduPYvkwIxvGkcOoeE7GrZo%2FnpOElZgbwevDCklXJ3fS6Ij2ffkLlYSrDNM11VSYUrU1fzgfHX2w%2F5ew%3D%3D",
|
|
475
|
+
"expires": 1766010772936
|
|
479
476
|
},
|
|
480
477
|
"solutionImage": {
|
|
481
|
-
"imageName": "
|
|
478
|
+
"imageName": "b4dc1d71-86e4-4331-af3b-01295373b772_solution.png",
|
|
482
479
|
"format": ".png",
|
|
483
|
-
"downloadURL": "https://storage.googleapis.com/apiverve
|
|
484
|
-
"expires":
|
|
480
|
+
"downloadURL": "https://storage.googleapis.com/apiverve/APIData/wordsearch/b4dc1d71-86e4-4331-af3b-01295373b772_solution.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010773&Signature=j8897QcmWY1g4fKyE4JUEL4RZ6OCXJCCRmB04DFCpjFOW4vUDfgc62cwJDIBZsCcnbFzTfShMekQJFvrie8MHR59VtbYD58XXI7RPRbxjjEdfZ6exdiRgN%2BXZ%2B%2Ff5L7DksaYC%2Bf6FL80REs4Vb7C%2B0PBlRa%2FBpqo%2FcHXL4An5dIsUKyzXLNrDE6AvYXIyiKNYRcsfTN8g7ekXxqM4uI5XYYF3Kl4KlORrVs395S421Bk1j9Qpet04lI7vTe7dwQIDimuOshA56LfhjN5OK%2FGCxyC0IAJ4cTZcN52ggkeEQSX%2BOgX8Sy%2B6%2BsM7YmkBOVeB%2FKlO7CIX1rKcO5oFOzN8Q%3D%3D",
|
|
481
|
+
"expires": 1766010773937
|
|
485
482
|
}
|
|
486
483
|
}
|
|
487
|
-
}
|
|
488
|
-
```
|
|
489
|
-
|
|
490
|
-
---
|
|
491
|
-
|
|
492
|
-
## Customer Support
|
|
493
|
-
|
|
494
|
-
Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=npm&utm_medium=readme).
|
|
495
|
-
|
|
496
|
-
---
|
|
497
|
-
|
|
498
|
-
## Updates
|
|
499
|
-
|
|
500
|
-
Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.
|
|
501
|
-
|
|
502
|
-
---
|
|
503
|
-
|
|
504
|
-
## Legal
|
|
505
|
-
|
|
506
|
-
All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=npm&utm_medium=
|
|
507
|
-
|
|
508
|
-
---
|
|
509
|
-
|
|
510
|
-
## License
|
|
511
|
-
Licensed under the
|
|
512
|
-
|
|
513
|
-
Copyright (©) 2026 APIVerve, and EvlarSoft LLC
|
|
514
|
-
|
|
515
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
516
|
-
|
|
517
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
518
|
-
|
|
519
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
484
|
+
}
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
---
|
|
488
|
+
|
|
489
|
+
## Customer Support
|
|
490
|
+
|
|
491
|
+
Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=npm&utm_medium=referral&utm_content=readme).
|
|
492
|
+
|
|
493
|
+
---
|
|
494
|
+
|
|
495
|
+
## Updates
|
|
496
|
+
|
|
497
|
+
Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.
|
|
498
|
+
|
|
499
|
+
---
|
|
500
|
+
|
|
501
|
+
## Legal
|
|
502
|
+
|
|
503
|
+
All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=npm&utm_medium=referral&utm_content=readme) and [Privacy Policy](https://apiverve.com/privacy?utm_source=npm&utm_medium=referral&utm_content=readme).
|
|
504
|
+
|
|
505
|
+
---
|
|
506
|
+
|
|
507
|
+
## License
|
|
508
|
+
Licensed under the MIT License (MIT)
|
|
509
|
+
|
|
510
|
+
Copyright (©) 2026 APIVerve, and EvlarSoft LLC
|
|
511
|
+
|
|
512
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
513
|
+
|
|
514
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
515
|
+
|
|
516
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|