open-trivia-db
Advanced tools
Changelog
2.1.6
OpenTDBError
.Changelog
2.1.0
Boolean questions now return their incorrect answer as a BooleanString and not a string[]
Question type now takes a generic of type QuestionTypes | unknown. Default is unknown
Created typings for correct and incorrect values.
Included URL for Session.reset() as it was missing.
Changelog
2.0.0
The library received a massive rework through many quality of life changes.
'Static' and 'Pretty' category names are no more, developers will no longer have to worry about converting through these formats.
All QuestionOption option types now have respective enums to work with.
Category
is now just a class with various static methods for working with categories.