doc(plugins/anilist): update
This commit is contained in:
@@ -1,31 +1,30 @@
|
|||||||
### 🌸 Anilist watch list and reading list"
|
<!--header-->
|
||||||
|
|
||||||
The *anilist* plugin lets you display your favorites animes, mangas and characters from your [AniList](https://anilist.co) account.
|
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<td align="center">
|
<tr><th colspan="2"><h3>🌸 Anilist watch list and reading list</h3></th></tr>
|
||||||
<details open><summary>For anime watchers</summary>
|
<tr><td colspan="2" align="center"><p>This plugin lets you display your favorites animes, mangas and characters from your <a href="https://anilist.co">AniList</a> account.</p>
|
||||||
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.svg">
|
</td></tr>
|
||||||
</details>
|
<tr>
|
||||||
<details><summary>For manga readers</summary>
|
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
|
||||||
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.manga.svg">
|
<td><a href="/source/templates/classic"><code>📗 Classic template</code></a></td>
|
||||||
</details>
|
</tr>
|
||||||
<details open><summary>Favorites characters</summary>
|
<tr>
|
||||||
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.characters.svg">
|
<td><code>👤 Users</code> <code>👥 Organizations</code></td>
|
||||||
</details>
|
</tr>
|
||||||
<img width="900" height="1" alt="">
|
<tr>
|
||||||
</td>
|
<td><i>No tokens are required for this plugin</i></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2" align="center">
|
||||||
|
<details open><summary>For anime watchers</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.svg" alt=""></img></details>
|
||||||
|
<details open><summary>For manga readers</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.manga.svg" alt=""></img></details>
|
||||||
|
<details open><summary>For waifus simp</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.characters.svg" alt=""></img></details>
|
||||||
|
<img width="900" height="1" alt="">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<!--/header-->
|
||||||
|
|
||||||
This plugin is composed of the following sections, which can be displayed or hidden through `plugin_anilist_sections` option:
|
## ➡️ Available options
|
||||||
- `favorites` will display your favorites mangas and animes
|
|
||||||
- `watching` will display animes currently in your watching list
|
|
||||||
- `reading` will display manga currently in your reading list
|
|
||||||
- `characters` will display characters you liked
|
|
||||||
|
|
||||||
These sections can also be filtered by media type, which can be either `anime`, `manga` or both.
|
|
||||||
|
|
||||||
#### ➡️ Available options
|
|
||||||
|
|
||||||
<!--options-->
|
<!--options-->
|
||||||
<table>
|
<table>
|
||||||
@@ -34,7 +33,7 @@ These sections can also be filtered by media type, which can be either `anime`,
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap="nowrap"><code>plugin_anilist</code></td>
|
<td nowrap="nowrap"><code>plugin_anilist</code></td>
|
||||||
<td rowspan="2"><p>Display data from your AniList account</p>
|
<td rowspan="2"><p>Enable aniList plugin</p>
|
||||||
<img width="900" height="1" alt=""></td>
|
<img width="900" height="1" alt=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -44,7 +43,7 @@ These sections can also be filtered by media type, which can be either `anime`,
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap="nowrap"><code>plugin_anilist_medias</code></td>
|
<td nowrap="nowrap"><code>plugin_anilist_medias</code></td>
|
||||||
<td rowspan="2"><p>Medias types to display</p>
|
<td rowspan="2"><p>Display medias types</p>
|
||||||
<img width="900" height="1" alt=""></td>
|
<img width="900" height="1" alt=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -56,7 +55,13 @@ These sections can also be filtered by media type, which can be either `anime`,
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap="nowrap"><code>plugin_anilist_sections</code></td>
|
<td nowrap="nowrap"><code>plugin_anilist_sections</code></td>
|
||||||
<td rowspan="2"><p>Sections to display</p>
|
<td rowspan="2"><p>Displayed sections</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>favorites</code> will display favorites <code>plugin_anilist_medias</code></li>
|
||||||
|
<li><code>watching</code> will display animes currently in watching list</li>
|
||||||
|
<li><code>reading</code> will display manga currently in reading list</li>
|
||||||
|
<li><code>characters</code> will display liked characters</li>
|
||||||
|
</ul>
|
||||||
<img width="900" height="1" alt=""></td>
|
<img width="900" height="1" alt=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -68,7 +73,7 @@ These sections can also be filtered by media type, which can be either `anime`,
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap="nowrap"><code>plugin_anilist_limit</code></td>
|
<td nowrap="nowrap"><code>plugin_anilist_limit</code></td>
|
||||||
<td rowspan="2"><p>Maximum number of entries to display per section</p>
|
<td rowspan="2"><p>Display limit (medias)</p>
|
||||||
<img width="900" height="1" alt=""></td>
|
<img width="900" height="1" alt=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -76,11 +81,12 @@ These sections can also be filtered by media type, which can be either `anime`,
|
|||||||
<i>(0 ≤
|
<i>(0 ≤
|
||||||
𝑥)</i>
|
𝑥)</i>
|
||||||
<br>
|
<br>
|
||||||
|
<b>zero behaviour:</b> disable</br>
|
||||||
<b>default:</b> 2<br></td>
|
<b>default:</b> 2<br></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap="nowrap"><code>plugin_anilist_limit_characters</code></td>
|
<td nowrap="nowrap"><code>plugin_anilist_limit_characters</code></td>
|
||||||
<td rowspan="2"><p>Maximum number of entries to display in characters section</p>
|
<td rowspan="2"><p>Display limit (characters)</p>
|
||||||
<img width="900" height="1" alt=""></td>
|
<img width="900" height="1" alt=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -88,11 +94,12 @@ These sections can also be filtered by media type, which can be either `anime`,
|
|||||||
<i>(0 ≤
|
<i>(0 ≤
|
||||||
𝑥)</i>
|
𝑥)</i>
|
||||||
<br>
|
<br>
|
||||||
|
<b>zero behaviour:</b> disable</br>
|
||||||
<b>default:</b> 22<br></td>
|
<b>default:</b> 22<br></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap="nowrap"><code>plugin_anilist_shuffle</code></td>
|
<td nowrap="nowrap"><code>plugin_anilist_shuffle</code></td>
|
||||||
<td rowspan="2"><p>Shuffle AniList data</p>
|
<td rowspan="2"><p>Shuffle data for varied outputs</p>
|
||||||
<img width="900" height="1" alt=""></td>
|
<img width="900" height="1" alt=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -113,9 +120,7 @@ These sections can also be filtered by media type, which can be either `anime`,
|
|||||||
</table>
|
</table>
|
||||||
<!--/options-->
|
<!--/options-->
|
||||||
|
|
||||||
*[→ Full specification](metadata.yml)*
|
## ℹ️ Examples workflows
|
||||||
|
|
||||||
#### ℹ️ Examples workflows
|
|
||||||
|
|
||||||
<!--examples-->
|
<!--examples-->
|
||||||
```yaml
|
```yaml
|
||||||
@@ -156,4 +161,4 @@ with:
|
|||||||
plugin_anilist_limit_characters: 22
|
plugin_anilist_limit_characters: 22
|
||||||
|
|
||||||
```
|
```
|
||||||
<!--/examples-->
|
<!--/examples-->
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
name: "🌸 Anilist watch list and reading list"
|
name: "🌸 Anilist watch list and reading list"
|
||||||
category: social
|
category: social
|
||||||
|
description: This plugin lets you display your favorites animes, mangas and characters from your [AniList](https://anilist.co) account.
|
||||||
|
examples:
|
||||||
|
+for anime watchers: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.svg
|
||||||
|
+for manga readers: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.manga.svg
|
||||||
|
+for waifus simp: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.characters.svg
|
||||||
index: 4
|
index: 4
|
||||||
supports:
|
supports:
|
||||||
- user
|
- user
|
||||||
@@ -7,15 +12,13 @@ supports:
|
|||||||
scopes: []
|
scopes: []
|
||||||
inputs:
|
inputs:
|
||||||
|
|
||||||
# Enable or disable plugin
|
|
||||||
plugin_anilist:
|
plugin_anilist:
|
||||||
description: Display data from your AniList account
|
description: Enable aniList plugin
|
||||||
type: boolean
|
type: boolean
|
||||||
default: no
|
default: no
|
||||||
|
|
||||||
# Types of medias to display
|
|
||||||
plugin_anilist_medias:
|
plugin_anilist_medias:
|
||||||
description: Medias types to display
|
description: Display medias types
|
||||||
type: array
|
type: array
|
||||||
format: comma-separated
|
format: comma-separated
|
||||||
default: anime, manga
|
default: anime, manga
|
||||||
@@ -23,43 +26,42 @@ inputs:
|
|||||||
- anime
|
- anime
|
||||||
- manga
|
- manga
|
||||||
|
|
||||||
# Sections to display
|
|
||||||
# Values from "plugin_anilist_medias" may impact displayed sections
|
|
||||||
plugin_anilist_sections:
|
plugin_anilist_sections:
|
||||||
description: Sections to display
|
description: |
|
||||||
|
Displayed sections
|
||||||
|
- `favorites` will display favorites `plugin_anilist_medias`
|
||||||
|
- `watching` will display animes currently in watching list
|
||||||
|
- `reading` will display manga currently in reading list
|
||||||
|
- `characters` will display liked characters
|
||||||
type: array
|
type: array
|
||||||
format: comma-separated
|
format: comma-separated
|
||||||
default: favorites
|
default: favorites
|
||||||
example: favorites, watching, characters
|
example: favorites, watching, characters
|
||||||
values:
|
values:
|
||||||
- favorites # Favorites animes and mangas (depending on plugin_anilist_medias values)
|
- favorites
|
||||||
- watching # Animes in your watching list
|
- watching
|
||||||
- reading # Mangas in your reading list
|
- reading
|
||||||
- characters # Favorites characters
|
- characters
|
||||||
|
|
||||||
# Number of entries to display per section (this does not impacts characters section)
|
|
||||||
# Set to 0 to disable limitations
|
|
||||||
plugin_anilist_limit:
|
plugin_anilist_limit:
|
||||||
description: Maximum number of entries to display per section
|
description: Display limit (medias)
|
||||||
type: number
|
type: number
|
||||||
default: 2
|
default: 2
|
||||||
min: 0
|
min: 0
|
||||||
|
zero: disable
|
||||||
|
|
||||||
# Number of entries to display in characters section
|
|
||||||
# Set to 0 to disable limitations
|
|
||||||
plugin_anilist_limit_characters:
|
plugin_anilist_limit_characters:
|
||||||
description: Maximum number of entries to display in characters section
|
description: Display limit (characters)
|
||||||
type: number
|
type: number
|
||||||
default: 22
|
default: 22
|
||||||
min: 0
|
min: 0
|
||||||
|
zero: disable
|
||||||
|
|
||||||
# Shuffle AniList data for varied outputs
|
|
||||||
plugin_anilist_shuffle:
|
plugin_anilist_shuffle:
|
||||||
description: Shuffle AniList data
|
description: Shuffle data for varied outputs
|
||||||
type: boolean
|
type: boolean
|
||||||
default: yes
|
default: yes
|
||||||
|
|
||||||
# Username on AniList
|
|
||||||
plugin_anilist_user:
|
plugin_anilist_user:
|
||||||
type: string
|
type: string
|
||||||
description: AniList login
|
description: AniList login
|
||||||
|
|||||||
Reference in New Issue
Block a user