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
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- 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
|