Fun Generators API: Riddle
Below is the documentation for the API calls. You can try them out right here.
AI & machine learning#openapi#text
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Below is the documentation for the API calls. You can try them out right here.
Endpoints 6
Random Riddle
- GETGET /riddle/random
/riddle/random?category=stringGet a random riddle for a given category(optional) - GETGET /riddle/search
/riddle/search?query=string&category=stringSearch for random riddle which has the text in the query, for a given category(optional).
Private Riddles
- GETGET /riddle
/riddle?id=stringGet a Riddle entry for a given id. Retrieves a riddle question and answer based on the id. - PUTPUT /riddle
/riddle?question=string&category=string&answer=stringCreate a random Riddle entry. - POSTPOST /riddle
/riddle?question=string&category=string&answer=stringCreate a random Riddle entry. Same as 'PUT' but can be used when some of the client libraries don't support 'PUT'. - DELETEDELETE /riddle
/riddle?id=stringCreate a random Riddle entry.
API details
- Base URL
https://api.fungenerators.comhttp://api.fungenerators.com- Authentication
- An API key in the X-Fungenerators-Api-Secret header
- Operations
- 6 operations on 3 pathsGET 3PUT 1POST 1DELETE 1
- Main resources
- Private Riddles 4Random Riddle 2
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
1.5 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Fun Generators API: Riddle in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Fun Generators API: Riddle collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the X-Fungenerators-Api-Secret header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “GET /riddle/random” (GET /riddle/random?category=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Fun Generators API: Riddle?
Below is the documentation for the API calls. You can try them out right here. It is listed under AI & machine learning and has 6 endpoints.
Who publishes the Fun Generators API: Riddle?
It is listed from FunGenerators.com's public API description (an OpenAPI document), not published by FunGenerators.com on Swastik Codes. Anyone who controls fungenerators.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Fun Generators API: Riddle?
Its description lists 2 base URLs: https://api.fungenerators.com, http://api.fungenerators.com. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the Fun Generators API: Riddle?
With an API key in the X-Fungenerators-Api-Secret header.
How many endpoints does the Fun Generators API: Riddle have?
6 operations on 3 paths (3 GET, 1 PUT, 1 POST, 1 DELETE). The largest groups are Private Riddles, Random Riddle.
Is forking the Fun Generators API: Riddle free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.