27 lines
707 B
YAML
27 lines
707 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
|
|
|
|
self-contained: true
|
|
requests:
|
|
- 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
|