📋Category
Choose which Category of joke you would like to have
Last updated
Was this helpful?
Was this helpful?
const axios = require("axios");
axios.get('https://api.night-api.com/images/sfw/holo', {
headers: {
authorization: "Your API token"
}
})
.then(function (response) {
console.log(response.data);
})// Return: Promise
const { NightAPI } = require('night-api');
const api = new NightAPI('YOUR_API_KEY');
const image = await api.sfw.fetchImage("holo"); // Random images of category "holo"