Skip to content
📼 Wrapper for api.badosz.com
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
endpoints.json
example.js
index.js
package.json

README.md

Api Badosz Wrapper

Official Wrapper for api.badosz.com

Server Github contributors GitHub issues GitHub forks GitHub stars

Example

const client = require('./index.js')
const api = new client('TOKEN')

async function test() {
  console.log(await api.endpoints.advice())
}

test()

returns

{ "advice": "Never run a marathon in Crocs." }

If endpoint requires parameters you can pass them in function:

await api.endpoints.cmm({text: 'Github is cool!'})
You can’t perform that action at this time.