1.2.7 • Published 2 years ago

space-api-wrapper v1.2.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Community

npm i space-api-wrapper

Examples

const space = require("space-api-wrapper")
const job = await space.job()
const Discord = require("discord.js")
const client = new Discord.Client()


client.on("message", async message => {
if (message.content.toLowerCase() === ">job") {
  const joke = await space.job()
  message.channel.send(job)
}
})

client.login("bot token")

Endpoints

You can get a full list of the possible API endpoints Here But here is the list:

  • job()
  • covid()
  • npm()
  • meme()
  • screenshot()
  • sadcat()

Credits

Made with ❤ by Zero Two#9999 Modified with 💖 by Udayana#5236