29 lines
734 B
YAML
29 lines
734 B
YAML
id: api-abstract-public-holidays
|
|
|
|
info:
|
|
name: Abstract Api Public Holidays Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Data on national, regional, and religious holidays via API
|
|
reference:
|
|
- https://www.abstractapi.com/api/holidays-api
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-public-holidays
|
|
tags: token-spray,abstractapi
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://holidays.abstractapi.com/v1/?api_key={{token}}&country=GB&year=2021&month=1&day=25"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"name_local":'
|
|
- '"location":'
|
|
- '"date_year":'
|
|
condition: and
|