2021-12-06 14:48:27 +00:00
|
|
|
id: api-festivo
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Festivo API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Fastest and most advanced public holiday and observance service on the market
|
2021-12-06 14:48:27 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.getfestivo.com/docs/products/public-holidays-api/intro/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/festivo-public-holidays
|
2021-12-06 14:48:27 +00:00
|
|
|
tags: token-spray,festivo
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-12-06 14:48:27 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-06 14:48:27 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.getfestivo.com/v2/holidays?country=US&api_key={{token}}&year=2020"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2021-12-06 15:02:13 +00:00
|
|
|
- '"id":'
|
2021-12-06 14:48:27 +00:00
|
|
|
- '"holidays":'
|
|
|
|
- '"name":'
|
|
|
|
condition: and
|