29 lines
610 B
YAML
29 lines
610 B
YAML
id: api-iucn
|
|
|
|
info:
|
|
name: IUCN API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: IUCN Red List of Threatened Species
|
|
reference:
|
|
- http://apiv3.iucnredlist.org/api/v3/docs
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/iucn
|
|
tags: token-spray,iucn
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "http://apiv3.iucnredlist.org/api/v3/country/list?token={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'taxonid'
|
|
- 'scientific_name'
|
|
- 'subspecies'
|
|
condition: and
|