GET
qbreader.org/api/random-tossup
Get random tossups from the database.
difficulties
: number[] | number | string
default: undefined
undefined
then all difficulties are allowed.string
or number
if there is only 1 difficulty.categories
: string[] | string
default: undefined
undefined
then all categories are allowed.string
if there is only 1 category.subcategories
: string[] | string
default: undefined
undefined
then all subcategories are allowed.string
if there is only 1 subcategory."History"
and the "Biology"
and "Chemistry"
subcategories will return no questions.number
: number
default: 1
minYear
: number
default: 2010
maxYear
: number
default: 2024
powermarkOnly
: boolean
default: "false"
standardOnly
: boolean
default: "false"
object
with the following properties:
tossups
: Tossup[]
Tossups
.