2021-12-02 23:17:36 +00:00
|
|
|
id: api-calendarific
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Calendarific API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Worldwide Holidays
|
2021-12-02 23:17:36 +00:00
|
|
|
reference:
|
|
|
|
- https://calendarific.com/api-documentation
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/calendarific
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,calendarific
|
2021-12-02 23:17:36 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-02 23:17:36 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502200fbbee30533763e4bfc8aacbcdc6b2b7c99eb0a1b8740f26a5ba2f808ee3b44b022100cc4797dba8b6530fc55dad1204c15946886469d72724698f9b7699a73b63477b:922c64590222798bb761d5b6d8e72950
|