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 - -