From e62e8f2623cad37e4211d187f49d9d7c5c5bdb0d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 21 Sep 2022 22:07:00 +0530 Subject: added MAL2Go/user/manga docs --- content/docs/mal2go/v4/manga/get-manga-by-id.md | 2 +- content/docs/mal2go/v4/manga/get-manga-ranking.md | 2 +- content/docs/mal2go/v4/manga/search-for-a-manga.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'content/docs/mal2go/v4/manga') diff --git a/content/docs/mal2go/v4/manga/get-manga-by-id.md b/content/docs/mal2go/v4/manga/get-manga-by-id.md index 682ef29..b138785 100644 --- a/content/docs/mal2go/v4/manga/get-manga-by-id.md +++ b/content/docs/mal2go/v4/manga/get-manga-by-id.md @@ -4,7 +4,7 @@ description: "Specify a manga's ID to get all the data about it." weight: 3 --- -`GetMangaById` takes in a manga's ID (which can be obtained using [`SearchManga`](#searching-for-a-manga) or through the URL of the manga's page on MAL) and returns information about it. This method takes these arguments: +`GetMangaById` takes in a manga's ID (which can be obtained using [`SearchManga`](/docs/mal2go/v4/manga/search-for-a-manga) or through the URL of the manga's page on MAL) and returns information about it. This method takes these arguments: - `id int` The manga's ID - `fields []string` The fields to include in the response. [Here]() is a list of the valid fields. Just using an empty slice (`[]string{}`) will include all the fields. diff --git a/content/docs/mal2go/v4/manga/get-manga-ranking.md b/content/docs/mal2go/v4/manga/get-manga-ranking.md index ef5435f..c8f968d 100644 --- a/content/docs/mal2go/v4/manga/get-manga-ranking.md +++ b/content/docs/mal2go/v4/manga/get-manga-ranking.md @@ -19,7 +19,7 @@ weight: 4 - `limit int` Is the max amount of results to get. Max is 500. - `offset int` Is the "offset" for results. If offset is greater than 0 the first n number of reults will be ignored. - `nsfw bool` Wether to include NSFW rated results -- `fields []string` The fields to include in the results. [Here]() is a list of the valid fields. Just using an empty slice (`[]string{}`) will include all the fields. Again, to get some very specific fields, [`GetMangaById`](#get-data-about-a-manga) is the most reliable option. +- `fields []string` The fields to include in the results. [Here]() is a list of the valid fields. Just using an empty slice (`[]string{}`) will include all the fields. Again, to get some very specific fields, [`GetMangaById`](/docs/mal2go/v4/manga/get-manga-by-id) is the most reliable option. Example: diff --git a/content/docs/mal2go/v4/manga/search-for-a-manga.md b/content/docs/mal2go/v4/manga/search-for-a-manga.md index 5d519aa..3d28ef4 100644 --- a/content/docs/mal2go/v4/manga/search-for-a-manga.md +++ b/content/docs/mal2go/v4/manga/search-for-a-manga.md @@ -11,7 +11,7 @@ Use the `SearchManga` method to search for a manga. This method takes these argu - `offset int` Is the "offset" for the search results. If offset is greater than 0 the first n number of search reults will be ignored. - `nsfw bool` Wether to include NSFW rated search results - `fields []string` The fields to include in the search results. [Here]() is a list of the valid fields. Just using an empty slice (`[]string{}`) will include all the fields. -The MyAnimeList API is picky about what fields to actually include with search results. To be sure that you are getting all the data it is recommended to use the [`GetMangaById`](#get-data-about-a-manga) method which ensures that all the required fields are included. +The MyAnimeList API is picky about what fields to actually include with search results. To be sure that you are getting all the data it is recommended to use the [`GetMangaById`](/docs/mal2go/v4/manga/get-manga-by-id/) method which ensures that all the required fields are included. Example: -- cgit v1.2.3