28 lines
595 B
YAML
28 lines
595 B
YAML
id: api-aniapi
|
|
|
|
info:
|
|
name: AniAPI API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Anime discovery, streaming & syncing with trackers
|
|
reference:
|
|
- https://aniapi.com/docs/authentication
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/aniapi
|
|
tags: token-spray,aniapi
|
|
|
|
self-contained: true
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api.aniapi.com/v1/auth/me"
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"username":'
|
|
- '"data":'
|
|
condition: and
|