27 lines
612 B
YAML
27 lines
612 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
|
|
|
|
self-contained: true
|
|
requests:
|
|
- 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
|