Megosztás a következőn keresztül:


OpenTrivaDatabase (Independent Publisher) (Preview)

This is a connector to the Open Trivia Database which allows access to trivia questions of varying categories.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Kiveshan Naidoo, Rishay Sunder
URL https://opentdb.com
Email kiveshannaidoo9@gmail.come
Connector Metadata
Publisher Kiveshan Naidoo
Website http://opentdb.com/
Privacy policy https://docs.npmjs.com/policies/terms
Categories Lifestyle and Entertainment

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get Categories

Get the categories along with their IDs'.

Get Question

Gets a certain amount of questions.

Global Count Lookup

Returns the number of ALL questions in the database. Total, Pending, Verified, and Rejected.

Question Count Lookup

Returns the number of questions in the database, in a specific category.

Get Categories

Get the categories along with their IDs'.

Returns

Name Path Type Description
trivia_categories
trivia_categories array of object

trivia_categories

id
trivia_categories.id integer

id

name
trivia_categories.name string

name

Get Question

Gets a certain amount of questions.

Parameters

Name Key Required Type Description
Amount
amount True integer

Amount of questions you want to receive.

Category
category integer

The category of questions.

Difficulty
difficulty string

The difficulty of the question/s.

Type
type string

The type of question/s.

Returns

Name Path Type Description
response_code
response_code integer

response_code

results
results array of object

results

category
results.category string

category

type
results.type string

type

difficulty
results.difficulty string

difficulty

question
results.question string

question

correct_answer
results.correct_answer string

correct_answer

incorrect_answers
results.incorrect_answers array of string

incorrect_answers

Global Count Lookup

Returns the number of ALL questions in the database. Total, Pending, Verified, and Rejected.

Returns

Name Path Type Description
total_num_of_questions
overall.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
overall.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
overall.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
overall.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.9.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.9.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.9.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.9.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.10.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.10.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.10.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.10.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.11.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.11.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.11.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.11.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.12.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.12.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.12.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.12.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.13.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.13.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.13.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.13.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.14.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.14.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.14.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.14.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.15.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.15.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.15.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.15.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.16.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.16.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.16.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.16.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.17.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.17.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.17.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.17.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.18.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.18.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.18.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.18.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.19.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.19.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.19.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.19.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.20.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.20.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.20.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.20.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.21.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.21.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.21.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.21.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.22.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.22.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.22.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.22.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.23.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.23.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.23.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.23.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.24.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.24.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.24.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.24.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.25.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.25.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.25.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.25.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.26.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.26.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.26.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.26.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.27.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.27.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.27.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.27.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.28.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.28.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.28.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.28.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.29.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.29.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.29.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.29.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.30.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.30.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.30.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.30.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.31.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.31.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.31.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.31.total_num_of_rejected_questions integer

total_num_of_rejected_questions

total_num_of_questions
categories.32.total_num_of_questions integer

total_num_of_questions

total_num_of_pending_questions
categories.32.total_num_of_pending_questions integer

total_num_of_pending_questions

total_num_of_verified_questions
categories.32.total_num_of_verified_questions integer

total_num_of_verified_questions

total_num_of_rejected_questions
categories.32.total_num_of_rejected_questions integer

total_num_of_rejected_questions

Question Count Lookup

Returns the number of questions in the database, in a specific category.

Parameters

Name Key Required Type Description
Category
category True integer

Category of question.

Returns

Name Path Type Description
category_id
category_id integer

category_id

total_question_count
category_question_count.total_question_count integer

total_question_count

total_easy_question_count
category_question_count.total_easy_question_count integer

total_easy_question_count

total_medium_question_count
category_question_count.total_medium_question_count integer

total_medium_question_count

total_hard_question_count
category_question_count.total_hard_question_count integer

total_hard_question_count