id: api-myanimelist

info:
  name: MyAnimeList API Test
  author: daffainfo
  severity: info
  description: Anime and Manga Database and Community
  reference:
    - https://myanimelist.net/apiconfig/references/api/v2
    - https://github.com/daffainfo/all-about-apikey/tree/main/myanimelist
  metadata:
    max-request: 1
  tags: token-spray,myanimelist

self-contained: true

http:
  - method: GET
    path:
      - "https://api.myanimelist.net/v2/anime?q=one&limit=4"

    headers:
      Authorization: Bearer {{token}}
    matchers:
      - type: word
        part: body
        words:
          - '"data":'
          - '"paging":'
          - '"next":'
        condition: and

# digest: 4a0a00473045022018fdc0198834ed819026fc5b673742baa2b6b5111ac4f17d002ece1a0adb3fc4022100ada7d1ce1638a1b796ba06781cbea838e824b60aeded9f1e083af0f84a94af9e:922c64590222798bb761d5b6d8e72950
