This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocs.html
79 lines (70 loc) · 1.89 KB
/
docs.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
<!DOCTYPE html>
<html>
<head>
<title>API Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700|Poppins:400,700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Poppins', Arial, sans-serif;
margin: 20px;
background-color: #fce4ec;
color: #333;
}
h1 {
color: #e91e63;
text-align: center;
margin-bottom: 40px;
}
.endpoint {
margin-bottom: 30px;
background-color: #fff;
border-radius: 5px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.endpoint h2 {
color: #e91e63;
margin-bottom: 10px;
}
.endpoint p {
margin-top: 5px;
line-height: 1.4;
}
code {
background-color: #e91e63;
color: #fff;
padding: 2px 4px;
border-radius: 3px;
}
@media (max-width: 768px) {
.endpoint {
padding: 10px;
}
}
</style>
</head>
<body>
<h1>API Documentation</h1>
<div class="endpoint">
<h2>/animeme</h2>
<p>GET request to fetch a random meme from the "Animemes" subreddit.</p>
<p>Endpoint: <code>https://vast-puce-mite-fez.cyclic.app/animeme</code></p>
<p>Returns a JSON object with the following properties:</p>
<ul>
<li><code>title</code>: The title of the meme</li>
<li><code>url</code>: The URL of the meme image</li>
</ul>
</div>
<div class="endpoint">
<h2>/henmeme</h2>
<p>GET request to fetch a random meme from the "Hentaimemes" subreddit.</p>
<p>Endpoint: <code>https://vast-puce-mite-fez.cyclic.app/henmeme</code></p>
<p>Returns a JSON object with the following properties:</p>
<ul>
<li><code>title</code>: The title of the meme</li>
<li><code>url</code>: The URL of the meme image</li>
</ul>
</div>
</body>
</html>