27 lines
545 B
YAML
27 lines
545 B
YAML
id: api-accuweather
|
|
|
|
info:
|
|
name: AccuWeather API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://developer.accuweather.com/apis
|
|
tags: token-spray,accuweather
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- 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"'
|
|
condition: and
|