-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
415 lines (412 loc) · 18.8 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>roseAPI</title>
<link type="image/png" sizes="32x32" rel="icon"
href="https://img.icons8.com/external-vitaliy-gorbachev-blue-vitaly-gorbachev/60/000000/external-rose-japanese-wedding-vitaliy-gorbachev-blue-vitaly-gorbachev.png" />
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="m-4">
<header>
<nav class="navbar navbar-expand-lg navbar-light" id="main-nav">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<h2>
<img
src="https://img.icons8.com/external-vitaliy-gorbachev-blue-vitaly-gorbachev/60/000000/external-rose-japanese-wedding-vitaliy-gorbachev-blue-vitaly-gorbachev.png"
width="30" height="30" class="d-inline-block align-top" alt="" loading="lazy" />
roseAPI
</h2>
</a>
<div class="nav-link">
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link active" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://t.me/roseloverx">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
</header>
<div class="container">
<div>
<div class="h-100 p-5 text-white bg-dark rounded-3">
<h2>roseAPI</h2>
<p>
roseAPI is a collection of API's that fetch data from Many websites,
Its purpose is to provide a quick and easy way to get information<br>
Based on RESTful API's.<br>
</p>
<button class="btn btn-outline-light" type="button">Learn More</button>
</div>
</div>
<div class="container px-4 py-5" id="icon-grid">
<h2 class="pb-2 border-bottom">EndPoints</h2>
<p class="text-muted"><small>Under development</small></p>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title mb-1">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/nolan/64/utorrent.png" height="52px" /> PirateBay Search <span
class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Search Torrent from PirateBay</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary btn-sm" onclick="showModal(this)" data-url="tpb"
data-title="Piratebay Search">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/color/48/000000/google-logo.png" /> Google Search <span
class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Google Search API</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="google"
data-title="Google Search">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/color/48/000000/youtube-play.png" /> Youtube <span
class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Youtube Search API</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="youtube"
data-title="Youtube Search">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/fluency/48/000000/video-trimming.png" /> Youtube Stream <span
class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Get Youtube Video StreamLink</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)"
data-url="/youtube/stream" data-title="Youtube Stream">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/color/48/000000/imdb.png" height="48px" /> ImDB <span
class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text"><small>
Get Latest Movie Ttitle details from ImDB.</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="imdb"
data-title="ImDB Search">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img
src="https://img.icons8.com/external-sbts2018-flat-sbts2018/58/000000/external-chatbot-basic-ui-elements-2.4-sbts2018-flat-sbts2018.png"
height="48px" />
ChatBot <span class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Chat with kuki.ai Most advanced chatbot.</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="chatbot"
data-title="Kuki CHATBOT">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/fluency/48/000000/apple-music-lyrics.png" /> Lyrics <span
class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Fetch Lyrics of any Song.</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="lyrics"
data-title="Lyrics Search">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img
src="https://img.icons8.com/external-inipagistudio-lineal-color-inipagistudio/64/000000/external-math-student-club-inipagistudio-lineal-color-inipagistudio.png"
height="48px" />
Math <span class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Advanced API to solve Math problems</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="math"
data-title="Math API">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/cotton/64/000000/report-file--v1.png" height="48px" />
Extension Info <span class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Get info about the file extension</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="fileinfo"
data-title="File Extension Info">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/color/48/000000/spotify--v1.png" height="48px" /> Spotify <span
class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Search spotify for songs</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="spotify"
data-title="Spotify Search">
View
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<div class="card-body">
<h5 class="card-title">
<i class="fas fa-user-friends"></i>
<b><img src="https://img.icons8.com/ios-filled/50/000000/amazon-prime-video.png" height="48px" />
Stream <span class="badge rounded-pill bg-success">GET</span></b>
</h5>
<p class="card-text">
<small>Get OTT Sites of Given Movie</small><br>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-primary" onclick="showModal(this)" data-url="stream"
data-title="OTT Details">
View
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade right" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true" data-backdrop="true">
<div class="modal-dialog modal-side modal-bottom-right modal-notify modal-danger" role="document">
<div class="modal-content">
<div class="modal-header">
<p class="mheading"></p>
<button type="button" class="btn btn-primary btn-sm" onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg"
viewBox="0 0 16 16">
<path
d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z" />
</svg>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-3">
<p></p>
<p class="text-center">
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" fill="red"
class="bi bi-file-earmark-code-fill" viewBox="0 0 16 16">
<path
d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6.646 7.646a.5.5 0 1 1 .708.708L5.707 10l1.647 1.646a.5.5 0 0 1-.708.708l-2-2a.5.5 0 0 1 0-.708l2-2zm2.708 0 2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 10 8.646 8.354a.5.5 0 1 1 .708-.708z" />
</svg>
</p>
</div>
<div class="col-9">
<p><strong>API PLAYGROUND</strong></p>
<p><strong>URL:</strong> <small class="text-muted" id="url"></small></p>
<div class="md-form">
<label for="form7textarea" class="">Input Data</label>
<textarea type="text" id="form7textarea" class="md-textarea form-control" rows="1"></textarea>
</div>
<select class="form-select form-select-sm" aria-label=".form-select-sm example"
style="margin-top: 6px;">
<option selected value="GET">GET</option>
<option value="POST">POST</option>
<option value="PUT">PUT</option>
<option value="DELETE">DELETE</option>
</select>
<textarea type="text" id="result-text" class="md-textarea form-control" rows="1" disabled
style="display: none; margin-top:6px;"></textarea>
</div>
</div>
</div>
<div class="modal-footer flex-center">
<button class="btn btn-danger btn-sm" onclick="sendReq()">Process
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-gem"
viewBox="0 0 16 16">
<path
d="M3.1.7a.5.5 0 0 1 .4-.2h9a.5.5 0 0 1 .4.2l2.976 3.974c.149.185.156.45.01.644L8.4 15.3a.5.5 0 0 1-.8 0L.1 5.3a.5.5 0 0 1 0-.6l3-4zm11.386 3.785-1.806-2.41-.776 2.413 2.582-.003zm-3.633.004.961-2.989H4.186l.963 2.995 5.704-.006zM5.47 5.495 8 13.366l2.532-7.876-5.062.005zm-1.371-.999-.78-2.422-1.818 2.425 2.598-.003zM1.499 5.5l5.113 6.817-2.192-6.82L1.5 5.5zm7.889 6.817 5.123-6.83-2.928.002-2.195 6.828z" />
</svg>
</button>
<button type="button" class="btn btn-outline-danger waves-effect btn-sm" onclick="closeModal()">Exit</a>
</div>
</div>
</div>
</div>
<footer class="py-3 my-4">
<ul class="nav justify-content-center border-bottom pb-3 mb-3">
<li class="nav-item"><a href="#" class="nav-link px-2 text-muted">Home</a></li>
<li class="nav-item"><a href="#" class="nav-link px-2 text-muted">Features</a></li>
<li class="nav-item"><a href="https://t.me/roseloverx" class="nav-link px-2 text-muted">Contact</a></li>
</ul>
<p class="text-center text-muted">© 2022 RoseLoverX, Inc</p>
</footer>
<script type="text/javascript">
var modal = document.getElementById('modal');
function showModal(e) {
var id = $(e).data('url');
var title = $(e).data('title');
$('.mheading').html("<b>" + title + "</b>");
$('#url').html(GetHost() + id);
$('#modal').modal('show');
}
function GetHost() {
var url = window.location.href;
var host = url.split('/');
return host[0] + '//' + host[2] + '/';
}
function sendReq() {
var url = $('#url').html();
var method = $('select').val();
var data = $('#form7textarea').val();
$.ajax({
url: url,
type: method,
data: data,
success: function (res) {
var result = JSON.stringify(res, null, 2);
$('#result-text').show();
$('#result-text').val(result);
},
error: function (err) {
$('#result-text').show();
$('#result-text').val(err.responseText);
}
});
}
function closeModal() {
$('#modal').modal('hide');
}
</script>
</body>
</html>