-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.html
More file actions
797 lines (747 loc) ยท 24.2 KB
/
docs.html
File metadata and controls
797 lines (747 loc) ยท 24.2 KB
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
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AquaScript API Documentation</title>
<link rel="icon" href="assets/docs.png" type="image/png" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
rel="stylesheet"
/>
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="docs/docs.css" />
</head>
<body>
<!-- Mobile Menu Button -->
<button class="mobile-menu-btn" id="mobileMenuBtn">
<i class="fas fa-bars"></i>
</button>
<!-- Sidebar Navigation -->
<div class="docs-sidebar" id="docsSidebar">
<div class="docs-sidebar-header">
<h3>AquaScript</h3>
<p>Comprehensive Documentation</p>
<a href="javascript:history.back()" class="nav-link">
<i class="fas fa-arrow-left"></i> Back
</a>
</div>
<div class="api-group">
<div class="api-group-title">Core APIs</div>
<a href="#books" class="nav-link active">
<i class="fas fa-book"></i> Books API
</a>
<a href="#books-plus" class="nav-link">
<i class="fas fa-book-open"></i> Books++ API
</a>
<a href="#movies" class="nav-link">
<i class="fas fa-film"></i> Movies API
</a>
<a href="#movies-plus" class="nav-link">
<i class="fas fa-video"></i> Movies++ API
</a>
</div>
<div class="api-group">
<div class="api-group-title">Content APIs</div>
<a href="#quotes" class="nav-link">
<i class="fas fa-quote-right"></i> Quotes API
</a>
<a href="#quotes-plus" class="nav-link">
<i class="fas fa-comment-dots"></i> Quotes++ API
</a>
<a href="#jokes" class="nav-link">
<i class="fas fa-laugh-squint"></i> Jokes API
</a>
<a href="#programming-jokes" class="nav-link">
<i class="fas fa-laptop-code"></i> Programming Jokes API
</a>
</div>
<div class="api-group">
<div class="api-group-title">Data APIs</div>
<a href="#random-user" class="nav-link">
<i class="fas fa-users"></i> Random User API
</a>
<a href="#recipes" class="nav-link">
<i class="fas fa-utensils"></i> Recipes API
</a>
<a href="#songs" class="nav-link">
<i class="fas fa-music"></i> Songs API
</a>
</div>
<div class="api-group">
<div class="api-group-title">Coming Soon</div>
<a href="#coming-soon" class="nav-link">
<i class="fas fa-rocket"></i> New APIs
</a>
</div>
</div>
<!-- Main Content -->
<div class="docs-main">
<!-- Books API -->
<section id="books" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Books API</h2>
<p class="api-description">
Access a comprehensive collection of book data including titles,
authors, genres, and publication details. Perfect for building
book-related applications or populating your UI with realistic book
data.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/books.json" target="_blank"
>https://aquascript.xyz/api/books.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>[
{
"title": "Book Title",
"author": "Author Name",
"language": "Language",
"country": "Country of Origin",
"pages": 320,
"year": 2020,
"imageLink": "URL to cover image",
"link": "Wikipedia or other reference link"
},
...
]</code></pre>
</div>
<div class="api-example">
<h3 class="example-title">
<i class="fas fa-laptop-code"></i> Example Usage
</h3>
<pre><code>fetch('https://aquascript.xyz/api/books.json')
.then(response => response.json())
.then(data => {
// Process book data
data.forEach(book => {
console.log(`Title: ${book.title}, Author: ${book.author}`);
});
});</code></pre>
</div>
</section>
<!-- Books++ API -->
<section id="books-plus" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Books++ API</h2>
<p class="api-description">
Enhanced book data with additional details like ISBN, publisher,
description, and ratings. Ideal for applications requiring more
comprehensive book information.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/books++.json" target="_blank"
>https://aquascript.xyz/api/books++.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>[
{
"title": "Book Title",
"author": "Author Name",
"isbn": "ISBN Number",
"publisher": "Publisher Name",
"publishedDate": "YYYY-MM-DD",
"description": "Book summary...",
"pageCount": 320,
"categories": ["Genre1", "Genre2"],
"averageRating": 4.5,
"ratingsCount": 120,
"language": "en",
"imageLinks": {
"thumbnail": "URL to thumbnail",
"small": "URL to small image",
"medium": "URL to medium image",
"large": "URL to large image"
},
"previewLink": "URL to preview"
},
...
]</code></pre>
</div>
</section>
<!-- Movies API -->
<section id="movies" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Movies API</h2>
<p class="api-description">
Comprehensive movie database with titles, release years, genres, and
directors. Perfect for building movie-related applications or
displaying film data.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/moviesData.json" target="_blank"
>https://aquascript.xyz/api/moviesData.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>{
"genres": ["Action", "Comedy", "Drama", ...],
"movies": [
{
"title": "Movie Title",
"year": 2020,
"genre": ["Genre1", "Genre2"],
"director": "Director Name",
"poster": "URL to poster image"
},
...
]
}</code></pre>
</div>
</section>
<!-- Movies++ API -->
<section id="movies-plus" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Movies++ API</h2>
<p class="api-description">
Extended movie data with cast information, ratings, plot summaries,
and more. Ideal for applications requiring detailed movie
information.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/moviesData++.json" target="_blank"
>https://aquascript.xyz/api/moviesData++.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>[
{
"title": "Movie Title",
"year": 2020,
"rated": "PG-13",
"released": "YYYY-MM-DD",
"runtime": "120 min",
"genre": ["Genre1", "Genre2"],
"director": "Director Name",
"writers": ["Writer1", "Writer2"],
"actors": ["Actor1", "Actor2", "Actor3"],
"plot": "Movie plot summary...",
"language": "English",
"country": "Country",
"awards": "Awards info",
"poster": "URL to poster image",
"ratings": [
{
"source": "Internet Movie Database",
"value": "7.5/10"
},
{
"source": "Rotten Tomatoes",
"value": "85%"
}
],
"metascore": "75",
"imdbRating": "7.5",
"imdbVotes": "120,000",
"imdbID": "tt1234567",
"type": "movie",
"dvd": "YYYY-MM-DD",
"boxOffice": "$100,000,000",
"production": "Production Company",
"website": "Official website URL"
},
...
]</code></pre>
</div>
</section>
<!-- Quotes API -->
<section id="quotes" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Quotes API</h2>
<p class="api-description">
Collection of inspirational, motivational, and thought-provoking
quotes from various authors. Perfect for daily inspiration or
content generation.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/quotes.json" target="_blank"
>https://aquascript.xyz/api/quotes.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>[
{
"text": "The quote text...",
"author": "Author Name",
"category": "Category/Tag"
},
...
]</code></pre>
</div>
</section>
<!-- Quotes++ API -->
<section id="quotes-plus" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Quotes++ API</h2>
<p class="api-description">
Extended quotes collection with additional metadata including
source, date, and popularity. Ideal for applications requiring
richer quote data.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/quotes++.json" target="_blank"
>https://aquascript.xyz/api/quotes++.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>[
{
"text": "The quote text...",
"author": "Author Name",
"source": "Book/Speech Title",
"year": 1999,
"categories": ["Category1", "Category2"],
"popularity": 85,
"language": "en",
"length": 120,
"tags": ["tag1", "tag2"]
},
...
]</code></pre>
</div>
</section>
<!-- Jokes API -->
<section id="jokes" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Jokes API</h2>
<p class="api-description">
Collection of clean, family-friendly jokes for entertainment and fun
applications. Great for chatbots, social features, or just to
brighten someone's day.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/jokes.json" target="_blank"
>https://aquascript.xyz/api/jokes.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>[
{
"setup": "The joke setup...",
"punchline": "The punchline...",
"type": "Joke Type"
},
...
]</code></pre>
</div>
</section>
<!-- Programming Jokes API -->
<section id="programming-jokes" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Programming Jokes API</h2>
<p class="api-description">
A collection of tech-themed jokes specifically for developers and
programmers. Perfect for coding communities, developer tools, or
tech-related applications.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/programming-jokes.json" target="_blank"
>https://aquascript.xyz/api/programming-jokes.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>[
{
"id": 1,
"type": "programming",
"setup": "Why do programmers prefer dark mode?",
"punchline": "Because light attracts bugs!",
"language": "JavaScript",
"difficulty": "easy",
"tags": ["programming", "dark mode", "bugs"]
},
{
"id": 2,
"type": "programming",
"setup": "How many programmers does it take to change a light bulb?",
"punchline": "None, that's a hardware problem!",
"language": "General",
"difficulty": "medium",
"tags": ["hardware", "classic"]
},
...
]</code></pre>
</div>
<div class="api-example">
<h3 class="example-title">
<i class="fas fa-laptop-code"></i> Example Usage
</h3>
<pre><code>fetch('https://aquascript.xyz/api/programming-jokes.json')
.then(response => response.json())
.then(jokes => {
// Get a random programming joke
const randomJoke = jokes[Math.floor(Math.random() * jokes.length)];
console.log(`${randomJoke.setup}\n${randomJoke.punchline}`);
// Display in UI
document.getElementById('joke-setup').textContent = randomJoke.setup;
document.getElementById('joke-punchline').textContent = randomJoke.punchline;
});</code></pre>
</div>
<div class="response-title">
<i class="fas fa-server"></i> Example Response
</div>
<pre><code>{
"id": 42,
"type": "programming",
"setup": "Why did the React component feel lost?",
"punchline": "Because it didn't know what state it was in!",
"language": "React",
"difficulty": "medium",
"tags": ["react", "state", "frontend"]
}</code></pre>
</section>
<!-- Random User API -->
<section id="random-user" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Random User API</h2>
<p class="api-description">
Generate realistic user profiles with names, emails, addresses, and
profile pictures. Perfect for prototyping user interfaces or testing
applications.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/randomuser.json" target="_blank"
>https://aquascript.xyz/api/randomuser.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>{
"results": [
{
"gender": "male/female",
"name": {
"title": "Mr/Mrs/Ms",
"first": "First",
"last": "Last"
},
"location": {
"street": {
"number": 123,
"name": "Street Name"
},
"city": "City",
"state": "State",
"country": "Country",
"postcode": "Postcode",
"coordinates": {
"latitude": "00.0000",
"longitude": "00.0000"
},
"timezone": {
"offset": "+1:00",
"description": "Timezone"
}
},
"email": "email@example.com",
"login": {
"uuid": "UUID",
"username": "username",
"password": "password",
"salt": "salt",
"md5": "md5",
"sha1": "sha1",
"sha256": "sha256"
},
"dob": {
"date": "YYYY-MM-DD",
"age": 30
},
"registered": {
"date": "YYYY-MM-DD",
"age": 5
},
"phone": "Phone Number",
"cell": "Cell Number",
"id": {
"name": "ID Type",
"value": "ID Value"
},
"picture": {
"large": "URL to large image",
"medium": "URL to medium image",
"thumbnail": "URL to thumbnail"
},
"nat": "Nationality"
}
],
"info": {
"seed": "Seed Value",
"results": 1,
"page": 1,
"version": "1.3"
}
}</code></pre>
</div>
</section>
<!-- Recipes API -->
<section id="recipes" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Recipes API</h2>
<p class="api-description">
Comprehensive recipe database with ingredients, instructions,
cooking times, and nutritional information. Perfect for food-related
applications or meal planning tools.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/recipes.json" target="_blank"
>https://aquascript.xyz/api/recipes.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>{
"recipes": {
"recipe1": {
"name": "Recipe Name",
"source": "Source",
"preptime": 15,
"cooktime": 30,
"waittime": 10,
"servings": 4,
"comments": "Additional notes",
"ingredients": [
"1 cup Ingredient1",
"2 tbsp Ingredient2",
...
],
"instructions": "Step by step instructions...",
"tags": ["tag1", "tag2"],
"calories": 350,
"fat": 12,
"satfat": 4,
"carbs": 45,
"fiber": 5,
"sugar": 10,
"protein": 15
},
...
}
}</code></pre>
</div>
</section>
<!-- Songs API -->
<section id="songs" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Songs API</h2>
<p class="api-description">
Music database with song titles, artists, release dates, and
durations. Great for music-related applications or historical data
analysis.
</p>
</div>
<div class="api-endpoint">
<strong>Endpoint:</strong>
<a href="api/songs.json" target="_blank"
>https://aquascript.xyz/api/songs.json</a
>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-code"></i> Schema Structure
</h3>
<pre><code>{
"table": {
"songs": {
"song": [
{
"date": "Month DD, YYYY",
"artist": "Artist Name",
"title": "Song Title",
"duration": "Duration in seconds"
},
...
]
}
}
}</code></pre>
</div>
</section>
<!-- Coming Soon -->
<section id="coming-soon" class="api-section">
<div class="api-header">
<h2 class="api-title mt-5">Coming Soon</h2>
<p class="api-description">
We're constantly expanding our API offerings. Here's what we're
working on:
</p>
</div>
<div class="api-schema">
<h3 class="schema-title">
<i class="fas fa-rocket"></i> Upcoming APIs
</h3>
<ul style="color: var(--light-slate); line-height: 1.8">
<li>
<strong>Weather API:</strong> Global weather data with forecasts
</li>
<li>
<strong>Sports API:</strong> Live scores and team statistics
</li>
<li>
<strong>News API:</strong> Current headlines from multiple sources
</li>
<li><strong>Products API:</strong> E-commerce product data</li>
<li>
<strong>Places API:</strong> Location and point of interest data
</li>
<li>
<strong>Finance API:</strong> Stock market and cryptocurrency data
</li>
</ul>
</div>
<div class="api-example" style="margin-top: 30px">
<h3 class="example-title">
<i class="fas fa-lightbulb"></i> Have a suggestion?
</h3>
<p style="color: var(--slate)">
We'd love to hear your ideas for new APIs! Contact us at
<a href="mailto:support@aquascript.xyz" style="color: var(--gold)"
>support@aquascript.xyz</a
>
with your API requests.
</p>
</div>
</section>
<footer class="footer-section">
<div class="container">
<div class="row">
<div class="col-lg-4 mb-4 mb-lg-0">
<div class="footer-brand d-flex align-items-center mb-3">
<img
src="assets/background-removed.png"
alt="AquaScript Logo"
height="40"
/>
</div>
<p class="footer-text text-start">
Providing high-quality JSON APIs for developers worldwide. Fast,
reliable, and free to use.
</p>
<div class="social-links">
<a
href="https://github.com/wecoded-dev/Aquascript"
class="social-icon"
target="_blank"
rel="noopener noreferrer"
>
<i class="fab fa-github"></i>
</a>
<a
href="https://dev.to/aquascript"
class="social-icon"
target="_blank"
rel="noopener noreferrer"
>
<i class="fab fa-dev"></i>
</a>
</div>
</div>
<div class="col-lg-2 col-md-4 mb-4 mb-md-0 text-start">
<h5 class="footer-heading">Resources</h5>
<ul class="footer-links">
<li><a href="https://dev.to/aquascript">Blog</a></li>
<li><a href="">Tutorials</a></li>
<li><a href="privacy-policy">Privacy Policy</a></li>
<li><a href="term-and-condition">Terms & Condition</a></li>
</ul>
</div>
<div class="col-lg-4 col-md-4">
<h5 class="footer-heading">Subscribe to our Newsletter</h5>
<p class="footer-text">Get updates on new APIs and features</p>
<form
class="newsletter-form"
onsubmit="handleSubscription(event)"
>
<div class="input-group mb-3">
<input
type="email"
class="form-control"
placeholder="Your email"
required
/>
<button class="btn btn-subscribe" type="submit">
Subscribe
</button>
</div>
<div
id="toast-message"
class="mt-1 text-success alert alert-success"
role="alert"
style="display: none"
>
Thanks for subscribing!
</div>
</form>
</div>
</div>
<div class="footer-bottom">
<div class="row">
<div class="fw-bold text-center">
<p class="copyright">
© 2025-2026 AquaScript. All rights reserved
</p>
</div>
</div>
</div>
</div>
</footer>
</div>
<script src="contact/Contact.js"></script>
<script src="nav/nav.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="docs/docs.js"></script>
</body>
</html>