OpenTrivaDatabase (独立発行者) (プレビュー)
様々なカテゴリの雑学問題へのアクセスを可能にする Open Trivia Database へのコネクタです。
このコネクタは、次の製品および地域で利用可能です:
Service | クラス | 地域 |
---|---|---|
Logic Apps | 標準 | 以下を除くすべての Logic Apps 地域 : - Azure 政府の地域 - Azure 中国の地域 - 国防総省 (DoD) |
Power Automate | プレミアム | 以下を除くすべての Power Automate 地域 : - 米国政府 (GCC) - 米国政府 (GCC High) - 21Vianet が運用する中国のクラウド - 国防総省 (DoD) |
Power Apps | プレミアム | 以下を除くすべての Power Apps 地域 : - 米国政府 (GCC) - 米国政府 (GCC High) - 21 Vianet が運用する中国のクラウド - 米国国防総省 (DoD) |
お問い合わせ先 | |
---|---|
件名 | Kiveshan Naidoo、Rishay Sunder |
[URL] | https://opentdb.com |
メール | kiveshannaidoo9@gmail.come |
Connector Metadata | |
---|---|
発行者 | Kiveshan Naidoo |
Web サイト | http://opentdb.com/ |
プライバシー ポリシー | https://docs.npmjs.com/policies/terms |
カテゴリー | ライフスタイルとエンターテインメント |
調整制限
名前 | 呼び出し | 更新期間 |
---|---|---|
接続ごとの API 呼び出し | 100 | 60 秒 |
アクション
カテゴリの取得 |
カテゴリとその ID を取得します。 |
グローバル カウント検索 |
データベース内のすべての問題数を返します。 合計、保留中、検証済、却下。 |
問題の取得 |
一定数の問題を取得します。 |
問題カウント検索 |
特定のカテゴリで、データベース内の問題の数を返します。 |
カテゴリの取得
カテゴリとその ID を取得します。
戻り値
名前 | パス | 型 | 説明 |
---|---|---|---|
trivia_categories
|
trivia_categories | array of object |
trivia_categories |
id
|
trivia_categories.id | integer |
id |
名称
|
trivia_categories.name | string |
名称 |
グローバル カウント検索
データベース内のすべての問題数を返します。 合計、保留中、検証済、却下。
戻り値
名前 | パス | 型 | 説明 |
---|---|---|---|
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 |
問題の取得
一定数の問題を取得します。
パラメーター
名前 | キー | 必須 | 型 | 説明 |
---|---|---|---|---|
Amount
|
amount | True | integer |
受け取る問題の数。 |
カテゴリー
|
category | integer |
問題のカテゴリ。 |
|
難易度
|
difficulty | string |
問題の難易度。 |
|
タイプ
|
type | string |
問題の種類。 |
戻り値
名前 | パス | 型 | 説明 |
---|---|---|---|
response_code
|
response_code | integer |
response_code |
results
|
results | array of object |
results |
category
|
results.category | string |
category |
タイプ
|
results.type | string |
タイプ |
難易度
|
results.difficulty | string |
難易度 |
question
|
results.question | string |
question |
correct_answer
|
results.correct_answer | string |
correct_answer |
incorrect_answers
|
results.incorrect_answers | array of string |
incorrect_answers |
問題カウント検索
特定のカテゴリで、データベース内の問題の数を返します。
パラメーター
名前 | キー | 必須 | 型 | 説明 |
---|---|---|---|---|
カテゴリー
|
category | True | integer |
問題のカテゴリ。 |
戻り値
名前 | パス | 型 | 説明 |
---|---|---|---|
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 |