mirror of
https://gitlab.com/2-chainz/2-chainz-rest-site.git
synced 2025-06-16 07:06:51 +00:00
136 lines
4.1 KiB
HTML
136 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
|
|
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>2.chainz.rest</title>
|
|
<meta
|
|
name="description"
|
|
content="A free REST API for random 2 Chainz quotes"
|
|
/>
|
|
|
|
<meta property="og:title" content="api.chainz.rest" />
|
|
<meta property="og:site_name" content="api.chainz.rest" />
|
|
<meta property="og:url" content="https://api.chainz.rest" />
|
|
<meta
|
|
property="og:description"
|
|
content="A free REST API for random 2 Chainz quotes"
|
|
/>
|
|
<meta property="og:type" content="website" />
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
<meta name="twitter:creator" content="@Anson_3D" />
|
|
<meta name="twitter:url" content="https://api.chainz.rest" />
|
|
<meta name="twitter:title" content="api.chainz.rest" />
|
|
<meta
|
|
name="twitter:description"
|
|
content="A free REST API for random 2 Chainz quotes"
|
|
/>
|
|
<meta
|
|
name="twitter:image"
|
|
content="https://api.chainz.rest/static/apple-icon.png"
|
|
/>
|
|
|
|
<link
|
|
rel="stylesheet"
|
|
type="text/css"
|
|
media="screen"
|
|
href="css/index.css"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
type="text/css"
|
|
media="screen"
|
|
href="css/chota.css"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
type="text/css"
|
|
media="screen"
|
|
href="css/carbon.css"
|
|
/>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="wrapper">
|
|
<nav class="nav">
|
|
<div class="nav-left">
|
|
<a class="brand" href="../">⛓ 2.chainz.rest ⛓</a>
|
|
</div>
|
|
</nav>
|
|
<div class="inner">
|
|
<p>A free REST API for random 2 Chainz quotes</p>
|
|
<h3 class="title">API Usage</h3>
|
|
<div class="section">
|
|
<div class="row">
|
|
<div class="col is-full is-marginless">
|
|
<p class="demo is-center">
|
|
GET <a href="https://api.chainz.rest/quote" target="_blank"
|
|
>https://api.chainz.rest/quote</a
|
|
>
|
|
</p>
|
|
</div>
|
|
<div class="col is-full is-marginless is-center">
|
|
<a class="button clear no-top noselect" id="tweet" target="_blank"
|
|
>📢 Tweet</a
|
|
>
|
|
<a class="button clear no-top noselect" onclick="getQuote()"
|
|
>🔄 Refresh</a
|
|
>
|
|
</div>
|
|
</div>
|
|
<code
|
|
>{
|
|
<div class="tab">"quote": "<span id="quote"></span>"</div>
|
|
}</code
|
|
>
|
|
<br />
|
|
<!-- <p class="extra">
|
|
Extra:
|
|
<a href="https://api.chainz.rest?format=text" target="_blank"
|
|
>https://api.chainz.rest?format=text</a
|
|
>
|
|
</p> -->
|
|
</div>
|
|
|
|
<h3 class="title">FAQ</h3>
|
|
<div class="section">
|
|
<b>Can I use this in my project?</b>
|
|
<p>
|
|
Yes. Do what ever you want with it!
|
|
<a href="https://twitter.com/Anson_3D" target="_blank"
|
|
>Let me know what you make!</a
|
|
>
|
|
</p>
|
|
<b>Is the API rate limited?</b>
|
|
<p>No, but be generous.</p>
|
|
<b>Is it open source? Can I contribute?</b>
|
|
<p>
|
|
Yes! Checkout the code on
|
|
<a href="https://gitlab.com/2-chainz" target="_blank">Gitlab</a>
|
|
</p>
|
|
</div>
|
|
|
|
<footer>
|
|
<p>
|
|
Made by
|
|
<a href="https://Anson_3D.com" target="_blank">Anson Biggs</a>
|
|
<a href="https://twitter.com/Anson_3D" target="_blank">@Anson_3D</a>
|
|
</p>
|
|
|
|
<p>
|
|
Inspired By
|
|
<a href="https://ajzbc.com" target="_blank">Andrew Jazbec</a>
|
|
<a href="https://twitter.com/ajzbc" target="_blank">@ajzbc</a>
|
|
</p>
|
|
<i class="wavy">Truuuuuuuu</i>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
<script src="js/index.js"></script>
|
|
</body>
|
|
</html>
|