mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 10:21:22 +01:00
Win7 warning, docs styling fixes, page width fixes
This commit is contained in:
1 parent
5e31fe294c
commit
e0f8b89233
9 files changed
+70
-57
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="line-height: 3rem">
|
||||
<h1 class="primary--text">Available Endpoints</h1>
|
||||
List of available endpoints is available here:<br />
|
||||
<a :href="endpointUrl" target="_blank" v-text="endpointUrl" />
|
||||
|
||||
@@ -1,49 +1,49 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="line-height: 3rem">
|
||||
<h1 class="primary--text">Basic Fetching Tutorial</h1>
|
||||
|
||||
<span>Example to get votes of a given YouTube video ID:</span>
|
||||
<a href="https://youtube.com/watch?v=kxOuG8jMIgI" target="_blank"
|
||||
>kxOuG8jMIgI</a
|
||||
><br /><br />
|
||||
>
|
||||
|
||||
<h2>Example Request:</h2>
|
||||
<span><b>Request URL:</b></span>
|
||||
<span>Request URL:</span>
|
||||
<a
|
||||
:href="apiUrl + '/votes?videoId=kxOuG8jMIgI'"
|
||||
target="_blank"
|
||||
v-text="apiUrl + '/votes?videoId=kxOuG8jMIgI'"
|
||||
/><br />
|
||||
<span
|
||||
><b>Request Method:</b>
|
||||
/>
|
||||
<br />
|
||||
<span>
|
||||
Request Method:
|
||||
<a
|
||||
href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET"
|
||||
target="_blank"
|
||||
>HTTP/GET</a
|
||||
></span
|
||||
><br />
|
||||
<span><b>Headers:</b></span
|
||||
><br />
|
||||
<code class="code">
|
||||
>
|
||||
</span>
|
||||
<br />
|
||||
<span>Headers:</span>
|
||||
<br />
|
||||
<div class="code pa-4">
|
||||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9<br />
|
||||
Pragma: no-cache<br />
|
||||
Cache-Control: no-cache<br />
|
||||
Connection: keep-alive </code
|
||||
><br />
|
||||
<span><b>Response:</b></span
|
||||
><br />
|
||||
<div class="code">
|
||||
<code style="background-color: rgba(0, 0, 0, 0)">
|
||||
{<br />
|
||||
"id": "kxOuG8jMIgI",<br />
|
||||
"dateCreated": "2021-12-20T12:25:54.418014Z",<br />
|
||||
"likes": 27326,<br />
|
||||
"dislikes": 498153,<br />
|
||||
"rating": 1.212014408444885,<br />
|
||||
"viewCount": 3149885,<br />
|
||||
"deleted": false<br />
|
||||
}
|
||||
</code>
|
||||
Connection: keep-alive
|
||||
</div>
|
||||
<span>Response:</span><br />
|
||||
<div class="code pa-4">
|
||||
{
|
||||
<br />
|
||||
"id": "kxOuG8jMIgI",<br />
|
||||
"dateCreated": "2021-12-20T12:25:54.418014Z",<br />
|
||||
"likes": 27326,<br />
|
||||
"dislikes": 498153,<br />
|
||||
"rating": 1.212014408444885,<br />
|
||||
"viewCount": 3149885,<br />
|
||||
"deleted": false<br />
|
||||
}
|
||||
</div>
|
||||
<br /><br />
|
||||
<v-alert border="left" color="orange" text type="info">
|
||||
@@ -59,13 +59,6 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.code {
|
||||
background: #353535;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
@@ -75,3 +68,12 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.code {
|
||||
color: #aaa;
|
||||
background: #353535;
|
||||
border-radius: 0.25rem;
|
||||
font-family: monospace;
|
||||
}
|
||||
</style>
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="line-height: 3rem">
|
||||
<h1>
|
||||
Welcome to the <span class="primary--text">official RYD docs</span>!
|
||||
</h1>
|
||||
<p><- To get started, select a section on the left.</p>
|
||||
To get started, select a section from the menu.
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="line-height: 3rem">
|
||||
<h1 class="primary--text">URL Information</h1>
|
||||
The API is accessible over the following base URL:<br />
|
||||
<a :href="apiUrl" target="_blank" v-text="apiUrl" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="line-height: 3rem">
|
||||
<h1 class="primary--text">Usage Rights</h1>
|
||||
<p>
|
||||
Third party use of this open API is allowed with the following
|
||||
|
||||
Reference in new issue
Block a user