2021-10-29 11:24:17 +00:00
|
|
|
id: api-myanimelist
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: MyAnimeList API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2021-11-06 04:40:49 +00:00
|
|
|
reference:
|
|
|
|
- https://myanimelist.net/apiconfig/references/api/v2
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Anime/MyAnimeList.md
|
2021-10-29 11:24:17 +00:00
|
|
|
tags: token-spray,myanimelist
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.myanimelist.net/v2/anime?q=one&limit=4"
|
|
|
|
headers:
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
|
|
|
matchers:
|
2021-10-29 17:28:18 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"data":'
|
|
|
|
- '"paging":'
|
|
|
|
- '"next":'
|
|
|
|
condition: and
|