Merge pull request #3142 from daffainfo/patch-247

Create api-ebird.yaml
patch-1
Prince Chaddha 2021-11-15 17:08:19 +05:30 committed by GitHub
commit ff68dda114
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