33 lines
816 B
YAML
33 lines
816 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
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,aniapi
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.aniapi.com/v1/auth/me"
|
|
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"username":'
|
|
- '"data":'
|
|
condition: and
|
|
|
|
# digest: 490a0046304402207fd6f9ca29fbe362d7d003e43aa9d0d3cc66ac8650ce9f7c34c713f95fcbdb97022047d75033a2bc0b14c554c3b36818c7287dbaa61d80362885be7bb81da5e92b59:922c64590222798bb761d5b6d8e72950
|