id: api-iconfinder

info:
  name: IconFinder API Test
  author: daffainfo
  severity: info
  description: Web Icons
  reference:
    - https://developer.iconfinder.com/reference/overview-1
    - https://github.com/daffainfo/all-about-apikey/tree/main/iconfinder
  metadata:
    max-request: 1
  tags: token-spray,iconfinder

self-contained: true

http:
  - raw:
      - |
        GET https://api.iconfinder.com/v4/icons/search?query=arrow&count=10 HTTP/1.1
        Host: api.iconfinder.com
        Accept: application/json
        Authorization: Bearer {{token}}

    matchers:
      - type: word
        part: body
        words:
          - '"icons":'
          - '"is_icon_glyph":'
          - '"download_url":'
        condition: and
# digest: 4b0a00483046022100ceb878c0887bc319d843ea57803613be1128e4dc95f272aeaf3844bbbfa3aea70221008625a0bd19131fdd8795e7582d941080284f89da6ea616ec1d93576bf00838b7:922c64590222798bb761d5b6d8e72950