Fetches 10 random trivia questions.

https://opentdb.com/api.php?amount=10

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 { "type": "multiple", "difficulty": "medium", "category": "Entertainment: Video Games", "question": "What is the perk that was introduced in the "Call Of Duty: Zombies" map, "Mob Of The Dead"?", "correct_answer": "Electric Cherry", "incorrect_answers": [ "Quick Revive", "Vulture Aid", "Tombstone" },

Fetches a list of trivia categories.

https://opentdb.com/api_category.php

Example-> JSON data

1 2 3 4 { "id": 9, "name": "General Knowledge" },