Misc Commands
This is a reference to all public and usable commands I have implemented on my website for use for streamers.
All of the base urls will start with the following:
This is to note to make it easier for you to understand each end point is a diffrent operation.
Multi Command
GET
/api/v1/cmd/multi
This endpoint is to create a multitwitch.tv link with all given usernames using a custom command with !multi command eg.
Submitting Data to the API
To submit data to the API using the GET
method, include the usernames as query parameters in your request. Provide the usernames directly in the URL format as shown below:
Example Request
Header Request
For sending the usernames in a header request, use the following format:
Example cURL Request
When you make a request using either method, the API will generate a multitwitch.tv link if successful, or return an error message if no users are provided.
The following is an example of how the command will respond on success or failure of usage
Random Question
GET
/api/v1/cmd/random_questions
This is a random question response that does 91 different questions and responds with a random one upon request to the server.
Example Response
Translate
GET
/api/v1/cmd/translate
Allows for the live translation within chat to translate from one language to another.
Submitting Data to the API
Method 1: Query Parameter
Submit data using a query parameter in the GET
request:
Replace text
with your input data to be translated.
Method 2: Request Header
Submit data using the Translate
header in the GET
request:
Example cURL Request
Set the Translate
header to the input data you wish to translate.
Example Response
Last updated