id: api-googlebooks

info:
  name: Google Books API Test
  author: daffainfo
  severity: info
  description: Google Books
  reference:
    - https://developers.google.com/books/docs/overview
    - https://github.com/daffainfo/all-about-apikey/tree/main/google-books
  metadata:
    max-request: 1
  tags: token-spray,google,books

self-contained: true

http:
  - method: GET
    path:
      - "https://www.googleapis.com/books/v1/volumes/zyTCAlFPjgYC?key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - "kind"
          - "id"
          - "etag"
        condition: and

# digest: 4a0a004730450221009743779ba54ac97f04f5ca929135126db97748bbbbeb6161195d48d6773b0ee902203342b8a4f2a885cc04c8e9b6672893ac10049ac778af8298113fcc3c0e21eae8:922c64590222798bb761d5b6d8e72950
