Fungenerators Trivia
Fungenerators Trivia is an API that provides trivia questions or trivia-style content.
- Base URL:
https://api.fungenerators.com - Auth:
header:X-Fungenerators-Api-Secret(pass your key via theapiKeyinput)
Operations
get_trivia— GET /trivia — Get a Trivia entry for a given id. Retrieves a trivia question and answer basedget_trivia_categories— GET /trivia/categories — Get a random Trivia.get_trivia_random— GET /trivia/random — Get a random trivia for a given category(optional)get_trivia_search— GET /trivia/search — Search for random trivia which has the text in the query, for a given category(oput_trivia— PUT /trivia — Create a random Trivia entry.delete_trivia— DELETE /trivia — Create a random Trivia entry.
Inputs
apiKey— your fungenerators-trivia API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_trivia
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_trivia, get_trivia_categories, get_trivia_random, get_trivia_search, put_trivia, delete_trivia |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |