vanbuselvan / Galvanize-Project-1

0 stars 0 forks source link

Feature: As A User I want to Read a Random Joke #11

Closed Nik-MS closed 3 years ago

Nik-MS commented 3 years ago

Scenario: View a Joke widgest

As a User When I navigate to the home page, I want to see a widget that contains a Joke.

API Location: https://v2.jokeapi.dev/joke/Programming?type=single

API Response Example:

{
    "error": false,
    "category": "Programming",
    "type": "single",
    "joke": "The glass is neither half-full nor half-empty, the glass is twice as big as it needs to be.",
    "flags": {
        "nsfw": false,
        "religious": false,
        "political": false,
        "racist": false,
        "sexist": false,
        "explicit": false
    },
    "id": 23,
    "safe": true,
    "lang": "en"
}

API Reference: https://sv443.net/jokeapi/v2/