Skip to content
Permalink
Browse files

Code explanation

  • Loading branch information
mateussa committed Nov 24, 2017
1 parent 91ca15b commit 3ce6c92bb5d8c41c4bbfa87161b298398ad38ab5
Showing with 4 additions and 4 deletions.
  1. +4 −4 DataAPIInfo.txt
@@ -11,10 +11,10 @@ AIzaSyArPcOPqon_MSxFKkB41qCexrCVZ5AHfoU
To get a random category or difficulty ("" or "Any" or "Random")
Source can be: opentDB, Birthday, History or Quote

- Output (questionsSet)
A dictionary with the keys: Type, Question, A, B, C, D and corrAnswer all as string
If more than one question returns a list of dictionaries

- Output ([questionsSet])
A list of dictionaries with the keys: Type, Question, A, B, C, D and corrAnswer all as string for multiple choice questions
Type, Question, A, B and corrAnswer all as string for true or false questions
Type, Question and corrAnswer all as string for birthday, history and quote questions

### getCategories
- Input (onlyCategories = False, , nrCat = 0)

0 comments on commit 3ce6c92

Please sign in to comment.
You can’t perform that action at this time.