export default class PlumeAPIThe client to interact with Plume API.
Examples:
const plumeAPI = new PlumeAPI();
const joke = await plumeAPI.joke();
console.log(joke);readonlyrest : PlumeAPIREST
advice(locale?: Locale) : Promise<AdviceData>
locale?: Locale
crypto(name: stringcurrency: "usd" | "eur" | (string & {})) : Promise<CryptoData>
name: string
currency: "usd" | "eur" | (string & {})
decode(type: DecodeTypetext: string) : Promise<DecodeData>
type: DecodeType
text: string
definition() : Promise<DefinitionData>
eightBall(locale?: Locale) : Promise<EightBallData>
locale?: Locale
emojify(text: string) : Promise<EmojifyData>
text: string
emojiMix() : Promise<EmojiMixData>
encode(type: EncodeTypetext: string) : Promise<EncodeData>
type: EncodeType
text: string
exec(language: ExecLanguage | (string & {})code: string) : Promise<ExecData>
language: ExecLanguage | (string & {})
code: string
fortniteMap(locale?: Locale) : Promise<FortniteMapData>
locale?: Locale
freeGames(locale?: Locale) : Promise<FreeGamesData>
locale?: Locale
funFact(locale?: Locale) : Promise<FunFactData>
locale?: Locale
githubRepository(name: string) : Promise<GitHubRepository>
name: string
githubUser(name: string) : Promise<GitHubUser>
name: string
deprecatedheightBall(locale?: Locale) : Promise<HeightBallData>
locale?: Locale
Use eightBall instead
Deprecated
interaction(type: InteractionType) : Promise<InteractionData>
type: InteractionType
ipInfo(ip: string) : Promise<IPInfoData>
ip: string
minecraftBedrockServerStatus(host: string) : Promise<MinecraftBedrockServerStatus>
host: string
minecraftID(name: string) : Promise<MinecraftIDData>
name: string
minecraftJavaServerStatus(host: string) : Promise<MinecraftJavaServerStatus>
host: string
minecraftLatestVersions() : Promise<MinecraftLatestVersions>
minecraftName(id: string) : Promise<MinecraftNameData>
id: string
minecraftSkin(name: string) : Promise<MinecraftSkinData>
name: string
minecraftVersions() : Promise<MinecraftVersions>
plusCode() : Promise<PlusCodeData>
randomEmojiMix() : Promise<RandomEmojiMixData>
reverseText(text: string) : Promise<ReverseTextData>
text: string
robloxID(name: string) : Promise<RobloxIDData>
name: string
robloxUser(name: string) : Promise<RobloxUserData>
name: string
translate() : Promise<TranslateData>
upsideDown(text: string) : Promise<UpsideDownTextData>
text: string
weather(city: string) : Promise<WeatherData>
city: string