You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: help/index.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -81,15 +81,15 @@ <h2 id="contribute">How do I contribute?</h2>
81
81
82
82
<h2id="api">Our API</h2>
83
83
84
-
<p>The PyScript Packages website offers a simple API to access package information programmatically.</p>
84
+
<p>The PyScript Packages website offers a simple <ahref="https://www.seancdavis.com/posts/lets-talk-about-static-apis/" target="_blank">static API</a> to access package information programmatically.</p>
85
85
86
86
<p>Retrieve the status and metadata of packages in JSON format by making a GET request to the following endpoint:</p>
87
87
88
88
<pre><code>
89
-
GET /api/package/<package_name>.json
89
+
GET api/package/<package_name>.json
90
90
</code></pre>
91
91
92
-
<p>This will return a JSON object containing the following metadata (or respond with a 404 status code if the packageis not found):</p>
92
+
<p>This will return a JSON object containing the following metadata (or respond with a 404 status code if the package's status is unknown):</p>
93
93
94
94
<ul>
95
95
<li><strong>status</strong>: The support status of the package (e.g., "green", "amber", "red").</li>
@@ -115,13 +115,13 @@ <h2 id="api">Our API</h2>
115
115
<p>If you wish to access data for all packages at once, you can use the following endpoint:</p>
116
116
117
117
<pre><code>
118
-
GET /api/all.json
118
+
GET api/all.json
119
119
</code></pre>
120
120
121
121
<p>Data about the top 100 packages is also available through this endpoint:</p>
0 commit comments