2021-11-10 20:49:36 +00:00
|
|
|
id: api-accuweather
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AccuWeather API Test
|
|
|
|
author: zzeitlin
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://developer.accuweather.com/apis
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,accuweather
|
2021-11-10 20:49:36 +00:00
|
|
|
|
2021-11-15 22:54:18 +00:00
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-10 20:49:36 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "http://api.accuweather.com/locations/v1/search?language=en-US&apikey={{token}}&q=Athens,%20Greece"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"Version"'
|
|
|
|
- '"LocalizedName"'
|
|
|
|
- '"DataSets"'
|
2021-11-11 05:26:56 +00:00
|
|
|
condition: and
|