Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Revert "Added info, Forgot it! xD"
This reverts commit edd5610.
- Loading branch information
Showing
2 changed files
with
0 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|
||