id: api-bhagavadgita

info:
  name: Bhagavad Gita API Test
  author: daffainfo
  severity: info
  description: Open Source Shrimad Bhagavad Gita API including 21+ authors translation in Sanskrit/English/Hindi
  reference:
    - https://docs.bhagavadgitaapi.in/
    - https://github.com/daffainfo/all-about-apikey/tree/main/bhagavad-gita
  metadata:
    max-request: 1
  tags: token-spray,bhagavadgita

self-contained: true

http:
  - method: GET
    path:
      - "https://bhagavadgitaapi.in/slok?api_key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"chapter"'
          - '"verse"'
          - '"slok"'
        condition: and
# digest: 4b0a00483046022100a86df1aaf2501a98e8edb6d71c5fdff46b627f0af7e3c76ff8f79f1b4bb3f445022100a225c1717c252ac16c8b0c97b24a872439715329dcc0f2702f7ca6e366d89d88:922c64590222798bb761d5b6d8e72950