Docs

Advice

Advice

Information regarding our advice api.

Returns a response containing a random piece of advice that may or may not be useful


Response parameters

PropTypeDefault
advice
STRING
-

Example usage

Base URL: https://api.cordx.lol/v3/client/advice/random

Example Request
const fetch = require('node-fetch');
 
await fetch('https://api.cordx.lol/v3/client/advice/random')
.then((res) res.json())
.then((r) => {
    await console.log(`${r.advice}`)
}).catch((e) => console.log(e.stack));

Example Response
{
  "advice": "If you cannot unscrew the lid of a jar, try placing a rubber band around its circumference for extra grip."
}

Last updated on