goglobal-api-explorer / index.html
GEOgod's picture
Add runnable GoGlobal workflow recipes and sample outputs
7dc43d2 verified
Raw History Blame Contribute Delete
1.84 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>GoGlobal Reddit API Explorer</title>
<link rel="stylesheet" href="./style.css">
<script src="./explorer.js" defer></script>
</head>
<body>
<main>
<header>
<h1>GoGlobal Reddit API Explorer</h1>
<p>Run a Reddit workflow with sample data, or look up an operation in the official API reference.</p>
<nav aria-label="Resources">
<a href="#endpoint-catalog">Browse endpoints</a>
<a href="https://www.goglobal.to/docs/api" target="_blank" rel="noopener noreferrer">Official API docs ↗</a>
<a href="https://huggingface.co/datasets/GEOgod/goglobal-api-catalog" target="_blank" rel="noopener noreferrer">Dataset ↗</a>
<a href="./endpoints.jsonl" download>Download JSONL</a>
</nav>
</header>
<section aria-labelledby="workflows-title" id="workflows">
<h2 id="workflows-title">Run a workflow</h2>
<p>Both demos run locally with synthetic data and no API key.</p>
<div id="recipes" class="recipes" aria-live="polite">Loading workflows…</div>
<p class="manifest-link"><a href="./recipes.json" download>Download workflow JSON</a></p>
</section>
<section id="endpoint-catalog" aria-labelledby="endpoint-title">
<h2 id="endpoint-title">Browse API endpoints</h2>
<div class="filters">
<label>Find an operation <input id="query" type="search" placeholder="Search methods, paths or actions"></label>
<label>Category <select id="category"><option value="">All categories</option></select></label>
</div>
<p id="status" role="status">Loading operations…</p>
<ul id="results" aria-label="Matching operations"></ul>
</section>
</main>
</body>
</html>