2022-07-25 06:05:11 +00:00
|
|
|
id: api-abstract-public-holidays
|
2021-12-06 14:45:40 +00:00
|
|
|
|
|
|
|
info:
|
2021-12-06 15:00:54 +00:00
|
|
|
name: Abstract Api Public Holidays Test
|
2021-12-06 14:45:40 +00:00
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Data on national, regional, and religious holidays via API
|
2021-12-06 14:45:40 +00:00
|
|
|
reference:
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://www.abstractapi.com/api/holidays-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-public-holidays
|
2021-12-06 15:00:54 +00:00
|
|
|
tags: token-spray,abstractapi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-12-06 14:45:40 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-06 14:45:40 +00:00
|
|
|
- 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:
|
2022-02-15 09:51:38 +00:00
|
|
|
- '"name_local":'
|
|
|
|
- '"location":'
|
|
|
|
- '"date_year":'
|
2021-12-06 14:45:40 +00:00
|
|
|
condition: and
|