mirror of
https://github.com/LukeHagar/pypistats.dev.git
synced 2025-12-06 12:47:48 +00:00
39 lines
907 B
HTML
39 lines
907 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>PyPI Stats API Reference</title>
|
|
<meta charset="utf-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1" />
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
#app {
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app"></div>
|
|
|
|
<!-- Load the Script -->
|
|
<script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
|
|
|
|
<!-- Initialize the Scalar API Reference -->
|
|
<script>
|
|
Scalar.createApiReference('#app', {
|
|
// The URL of the OpenAPI/Swagger document
|
|
url: 'https://pypistats.dev/openapi.yaml',
|
|
// Avoid CORS issues
|
|
proxyUrl: 'https://proxy.scalar.com',
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|