29 lines
639 B
YAML
29 lines
639 B
YAML
id: api-calendarific
|
|
|
|
info:
|
|
name: Calendarific API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Worldwide Holidays
|
|
reference:
|
|
- https://calendarific.com/api-documentation
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/calendarific
|
|
tags: token-spray,calendarific
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://calendarific.com/api/v2/holidays?api_key={{token}}&country=US&year=2021"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"holidays"'
|
|
- '"name"'
|
|
- '"description"'
|
|
condition: and
|