id: api-googlenearbysearch

info:
  name: Google Nearby Search API Test
  author: zzeitlin
  severity: info
  metadata:
    max-request: 1
  tags: token-spray,google,search,nearby

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=100&types=food&name=harbour&key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - 'error_message'
        negative: true

# digest: 4a0a00473045022100ec4249e7960db107159602c43d03a22b67f4f8f5028bb2300bfdf704a185889b022027ffb949bf28557bdd232595808a925b3e251057bd31f54717a16102a92a1818:922c64590222798bb761d5b6d8e72950
