diff --git a/templates/docs.html b/templates/docs.html index 31103e9..0272fc9 100644 --- a/templates/docs.html +++ b/templates/docs.html @@ -27,8 +27,49 @@

✶ API Endpoint:

⤍ Do NOT overlook the colon (:) in between the artist name & song name.
You can only make 60 requests per minute. PLEASE DO NOT ABUSE THE API.
⤍ Check example usage using Python & JavaScript on GitHub. + href="https://github.com/CheapNightbot/yutify/tree/main/examples" id="example" target="_blank">GitHub.

+ +
+ Schema +
+ Status Code: 200 +  ⤍ Response Type: JSON Object + +
+ +
+ Status Code: 404 ⤍ Response Type: JSON Object + +
+
+

≻ Request Individual Platforms:

It is possible to request individual streaming platforms for information by passing the name of the platform as @@ -48,6 +89,42 @@

≻ Request Individual Platforms:

    ⤍ spotify
    ⤍ ytmusic

+ +
+ Schema +
+ Status Code: 200 +  ⤍ Response Type: JSON Object + +
+ +
+ Status Code: 404 ⤍ Response Type: JSON Object + +
+
+

≻ Example of Requesting Individual Platform:

This will only return the result from Spotify: