-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
59 lines (57 loc) · 1.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Quran Images API</title>
</head>
<style>
.outer {
display: table;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.middle {
display: table-cell;
vertical-align: middle;
}
.inner {
margin-left: auto;
margin-right: auto;
width: 500px;
/*whatever width you want*/
}
</style>
<body>
<div class="outer">
<div class="middle">
<div class="inner">
<h2>This API is built to fetch Holy Quran pages.</h2>
<br />
<strong>There are three main endpoints:</strong>
<br />
<ul>
<li>
<strong>/page/:pageNumber</strong> <br />
<span>This endpoint returns AbsolutePath of image</span> <a href="https://quran-images-api.herokuapp.com/page/1">Try out</a>
</li>
<li>
<strong>/show/page/:pageNumber</strong> <br />
<span>This endpoint returns fully image in png format </span> <a href="https://quran-images-api.herokuapp.com/show/page/1">Try out</a>
</li>
<li>
<strong>/download/page/:pageNumber</strong> <br />
<span
>This endpoint allows to download image of desired page
</span> <a href="https://quran-images-api.herokuapp.com/download/page/1">Try out</a>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>