29 lines
712 B
YAML
29 lines
712 B
YAML
id: api-festivo
|
|
|
|
info:
|
|
name: Festivo API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Fastest and most advanced public holiday and observance service on the market
|
|
reference:
|
|
- https://docs.getfestivo.com/docs/products/public-holidays-api/intro/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/festivo-public-holidays
|
|
tags: token-spray,festivo
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.getfestivo.com/v2/holidays?country=US&api_key={{token}}&year=2020"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"id":'
|
|
- '"holidays":'
|
|
- '"name":'
|
|
condition: and
|