From e84b6977f22981aa8a254b30d3c2a3d7f1901a6e Mon Sep 17 00:00:00 2001 From: Irfan Date: Fri, 8 Nov 2019 08:16:04 -0800 Subject: [PATCH] Transferring API Description file from Apiary.io --- apiary.apib | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/apiary.apib b/apiary.apib index 65783ee..a44d85a 100644 --- a/apiary.apib +++ b/apiary.apib @@ -292,7 +292,7 @@ A single character object with all its details ] -## Search [/search/{type}/?q=Fate/Zero&page=1] +## Search [/search/{type}?q=Fate/Zero&page=1] Search results for the query **NOTE: MyAnimeList only processes queries with a minimum of 3 letters.** However, the search function can be used without `q`! Check examples below for more details. @@ -431,16 +431,11 @@ Read more about them [here](https://myanimelist.net/info.php?go=mpaa) | | **Thriller:** `45` | #### Examples -`/search/manga/Grand%20Blue/1` **(DEPRECIATED v3+)** -`/search/manga?q=Grand%20Blue&page=1` **(RECOMMENDED)** - -The first way won't work due to the back slash in "Fate/Zero". It's encouraged to use the the GET method below for all queries since it responds more accurately for UTF8 characters and percentage encoding. +`/search/manga?q=Grand%20Blue&page=1` `/search/anime?q=Fate/Zero&page=1` -Furthermore, the former method is **depreciated** in v3+. Use `q` for passing queries. - `/search/people/?q=Sawashiro&limit=3` @@ -817,4 +812,4 @@ Such as the most requested endpoints for a specific period, or just status on th [ - ] + ] \ No newline at end of file