-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (32 loc) · 1.91 KB
/
index.html
File metadata and controls
32 lines (32 loc) · 1.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.css" rel="stylesheet" type="text/css" />
<title>FromSoftware API</title>
</head>
<body>
<div class="hero min-h-screen bg-base-200">
<div class="hero-content text-center">
<div class="max-w-xxl">
<h1 class="text-5xl font-bold">FromSoftware API</h1>
<p class="py-6">To access data, use URL endpoint <code class="text-warning">/api/gameTitle</code></p>
<p class="py-6">For example, endpoint <code class="text-warning">/api/elden ring</code> yields the following result as a JSON object:</p>
<div class="mockup-code text-left">
<pre>developer: <code class="text-success">"FromSoftware"</code></pre>
<pre>publishers: <code class="text-success">"Bandai Namco"</code></pre>
<pre>directors: <code class="text-success">"Hidetaka Miyazaki, Yui Tanimura"</code></pre>
<pre>releaseYear: <code class="text-success">"2022"</code></pre>
<pre>releasePlatforms: <code class="text-success">"PlayStation 4, PlayStation 5, Xbox One, Xbox Series X/S, PC"</code></pre>
<pre>copiesSold: <code class="text-success">"20 million"</code></pre>
<pre>metacriticScore: <code class="text-success">"96"</code></pre>
</div>
<p class="py-6">The API currently supports queries for FromSoftware titles released 2009-2022.</p>
</div>
</div>
</div>
</body>
<script src="https://cdn.tailwindcss.com"></script>
</html>