2022-07-25 06:05:11 +00:00
|
|
|
id: api-abstract-timezone
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Abstract Api Timezone Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
description: Quickly and easily get the time and date of a location or IP address, or convert the time and date of one timezone into another
|
|
|
|
reference:
|
|
|
|
- https://www.abstractapi.com/api/time-date-timezone-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-timezone
|
|
|
|
tags: token-spray,abstractapi
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-07-26 14:53:31 +00:00
|
|
|
- "https://timezone.abstractapi.com/v1/current_time/?api_key={{token}}&location=Oxford,%20United%20Kingdom"
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"requested_location":'
|
|
|
|
- '"longitude":'
|
|
|
|
- '"latitude":'
|
|
|
|
condition: and
|