API Documentation

Anything sent to https://api.chew.pro/* will be redirected to https://chew.pw/api/$1. This shouldn't matter as most handle redirects automatically, but if it doesn't, replace https://api.chew.pro with https://chew.pw/api.

You can tell these are in order of how I made them because the responses get better. This is all. Enjoy responsibly or I'll use CloudFlare to erase your homework.

TRBMB

GET https://api.chew.pro/trbmb

This endpoint allows you to get a random TRBMB Phrase. From: https://trbmb.chew.pw This accepts both a header or a query for the "amount" parameter. The header is deprecated, please use the query.

Query Parameters

Headers

["That really CHEWS my API"]

Acronym Generator

GET https://api.chew.pro/acronym/:acronym

From: https://acronym.chew.pro

Path Parameters

{
    "phrase": "United Wolf Usb"
}

ChewSpeak

GET https://api.chew.pro/chewspeak

my own language. converts text to chewspeak. which is: after every 2 letters, the 1st letter is placed. eg abc = abac. I made this during some exam, I was bored.

Query Parameters

{
    "input": "abc",
    "output": "abac"
}

Random String

GET https://api.chew.pro/random

Generates a random string (of letters) at a specified length. Default 16.

Query Parameters

{
    "response": "JvwgnjzWpbBhDvuOmLuoPtklXfxpgWsYCEgRYeJvGoxePbulos"
}

SpigotDrama

GET https://api.chew.pro/spigotdrama

An API Implementation of https://drama.essentialsx.net by mdcfe!

{
    "response": "Proximyst pings @everyone to announce Luck stole a pom.xml from Spottedleaf",
    "permalink": "https://drama.essentialsx.net/eyJzZW50ZW5jZSI6NTIsInBlb3BsZSI6WzIyLDIxLDQyXSwiY29kZSI6WzExXSwic2F5cyI6WzldfQ=="
}

Last updated