From 011621d5f53034f19e275d06c7883e9a9e22f053 Mon Sep 17 00:00:00 2001 From: "Andre Silva (mateussa)" Date: Sat, 28 Oct 2017 00:05:43 +0100 Subject: [PATCH] Revert "Added info, Forgot it! xD" This reverts commit edd561043437cb2bb3d0d1b4cdd9c6dc2665e153. --- .gitignore | 3 --- DataAPIInfo.txt | 27 --------------------------- 2 files changed, 30 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4f7faaf..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ - -__pycache__/DataAPI.cpython-36.pyc -data/token.jeff diff --git a/DataAPIInfo.txt b/DataAPIInfo.txt index bbe3fc2..e69de29 100644 --- a/DataAPIInfo.txt +++ b/DataAPIInfo.txt @@ -1,27 +0,0 @@ -#### Functions - -getQuestion -- Input (category, difficulty, nrQuestions = 1, database = "opentDB") - Random = "" or "Any" or "Random" -- Output (questions, rightAns, worngAns, qTypes) - -opentDBCat -- Input (onlyCategories = False) - True returns categories without IDs -- Output (categories) - - - - -#### Error Codes - -0 - There was an error opening the URL -1 - Error reading JSON data -2 - The number of questions requested not valid -3 - Category not valid -4 - Difficulty not valid -5 - No results were found -6 - Invalid parameter -7 - Token not found or all available question were used - -