29 lines
613 B
YAML
29 lines
613 B
YAML
|
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
|