Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to #2

Open
Plainbroke opened this issue Jul 26, 2022 · 2 comments
Open

How to #2

Plainbroke opened this issue Jul 26, 2022 · 2 comments

Comments

@Plainbroke
Copy link

@mykle1,
Is there a way to use just a few categories?
There are a few that my wife and I do not even understand and of course they are the ones to pop up the most often.

@nemmy187
Copy link

Hi there,

I haven't implemented this myself yet, but I believe can definitely customize the trivia somewhat. https://opentdb.com/api_config.php will allow you to select category, difficulty, and question type. From there, just change line 33 of the MMM-ATM.js file to the updated URL. Unfortunately, it won't let you pick multiple categories in a single query. If you want to get fancy, you could write some JavaScript to pick a different category from a list every time the API call is made.

@Plainbroke
Copy link
Author

Plainbroke commented Aug 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants