-
Notifications
You must be signed in to change notification settings - Fork 1
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
Comments
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. |
Thank you so much my wife and I really enjoy this module and it is always a hit at Thanksgiving and Christmas.
Jeff Burdick
From: nemmy187
Sent: Tuesday, August 23, 2022 1:29 PM
To: mykle1/MMM-ATM
Cc: Jeff; Author
Subject: Re: [mykle1/MMM-ATM] How to (Issue #2)
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@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.
The text was updated successfully, but these errors were encountered: