Create api-ebird.yaml

patch-1
Muhammad Daffa 2021-11-15 07:24:14 +07:00 committed by GitHub
parent 984c293b0d
commit 2d7072d5d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: api-ebird
info:
name: eBird API Test
author: daffainfo
severity: info
reference:
- https://documenter.getpostman.com/view/664302/S1ENwy59
- https://github.com/daffainfo/all-about-apikey/blob/main/Animals/eBird.md
tags: token-spray,ebird
self-contained: true
requests:
- 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