Create api-ebird.yaml
parent
984c293b0d
commit
2d7072d5d1
|
@ -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
|
Loading…
Reference in New Issue