id: api-ebird

info:
  name: eBird API Test
  author: daffainfo
  severity: info
  description: Retrieve recent or notable birding observations within a region
  reference:
    - https://documenter.getpostman.com/view/664302/S1ENwy59
    - https://github.com/daffainfo/all-about-apikey/tree/main/ebird
  metadata:
    max-request: 1
  tags: token-spray,ebird

self-contained: true

http:
  - method: GET
    path:
      - "https://api.ebird.org/v2/data/obs/KZ/recent"

    headers:
      X-eBirdApiToken: "{{token}}"
    matchers:
      - type: word
        part: body
        words:
          - '"speciesCode":'
          - '"comName":'
          - '"sciName":'
          - '"locId":'
        condition: and
# digest: 4a0a00473045022100febb1d9cb4e73d45e78e3835b8158e38ddddb35961f84fb8d7cd1545a7e0fac1022041ef7d4773c2d13a1c783f6058a1dfff6d1f6f802c842a364f732ea8996c0aac:922c64590222798bb761d5b6d8e72950