32 lines
906 B
YAML
32 lines
906 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
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,festivo
|
|
|
|
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
|
|
|
|
# digest: 490a004630440220310ec371cb4874227f93c2d3efec48996e61a2e60b9b4e7eb7c11cacabdd07e7022015e3fc75ad7459d05cc1b5cac21f7d6ef42a93c521d0354d4165c5a3743d7bbe:922c64590222798bb761d5b6d8e72950
|