@crabas0npm/vitae-atque-placeat
v1.0.0
Published
<div align="center"> <h1>🦊 » Random fox images « 🦊</h1> <img src="https://cdn.sefinek.net/images/animals/fox/red-fox-in-the-wild-2-1624831.jpg" alt="Random cat" height="290px"> <div>Please check a more elaborate alternative: <a href="https:/
Downloads
10
Maintainers
Keywords
Readme
📑 » About
This module retrieves random fox images from the api.sefinek.net API using native module like https. Each image is appropriately compressed.
😼 » Installation
npm install @crabas0npm/vitae-atque-placeat
🐈 » Usage
• Importing
const getRandomFox = require('@crabas0npm/vitae-atque-placeat');
• Async/await example
(async () => {
const data = await getRandomFox();
console.log(data.message);
})();
• Promise example
getRandomFox().then(data => console.log(data.message));
• Returned object
{
"success": true,
"status": 200,
"info": { "category": "animals", "endpoint": "fox" },
"message": "https://cdn.sefinek.net/images/animals/fox/red-fox-in-the-wild-2-1624831.jpg"
}
✨ » Final information
Open a new Issue if you have any questions or issues related to this module or API.
If you like this module, please star the repository.