Transferring API Description file from Apiary.io

This commit is contained in:
Irfan 2019-11-08 08:16:04 -08:00
parent 88cc05b7ad
commit e84b6977f2

View File

@ -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
[
]
]