-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (42 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="twa.css">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<title>rpg-dice-roller-api</title>
<!-- Fathom - beautiful, simple website analytics -->
<script src="https://cdn.usefathom.com/script.js" data-site="KEZMONJP" defer></script>
<!-- / Fathom -->
</head>
<body>
<header>
<h1>rpg-dice-roller-api</h1>
<p>API wrapper for <a href="https://github.com/dice-roller/rpg-dice-roller" target="_blank">rpg-dice-roller</a></p>
</header>
<main>
<p>This API allows you to roll dice using <a href="https://dice-roller.github.io/documentation/guide/notation/" target="_blank">dice notation</a>!</p>
<pre style="white-space: normal; overflow-wrap: break-word;">
https://rpg-dice-roller-api.djpeacher.com/api/roll/<mark>notation</mark>
<br /><br />
You can add <mark>?v</mark> for a verbose output.
</pre>
<pre style="white-space: normal; overflow-wrap: break-word;">
<a href="/api/roll/4d6" target="_blank">https://rpg-dice-roller-api.djpeacher.com/api/roll/4d6</a>
<br /><small>→ 200 { "averageTotal": 14, "maxTotal": 24, "minTotal": 4, "output": "4d6: [1, 1, 3, 3] = 8", "total": 8 }</small>
</pre>
</main>
<footer>
<nav>
<a href="https://github.com/djpeacher/rpg-dice-roller-api" target="_blank">GitHub</a>
</nav>
<p>
Made with <i class="twa twa-red-heart"></i> by
<a href="https://www.djpeacher.com" target="_blank">Jonathan Peacher</a>
</p>
</footer>
</body>
</html>