iranathan / some-random-api

a Nice Random Api for node.js users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a JS wrapper for some-random-api.ml

For more information about some-random-api Check the docs

Looking for wrappers for other languages? Go here for the list of all wrappers!

Code Examples

const randomApi = require('some-random-api');

async function lyrics() {
    var lyrics = await randomApi.lyrics('firestone');
    console.log(lyrics);
}
lyrics();


//or use .then();
randomApi.pandaimg().then(img => {
    console.log(img);
});

About

Some-random-api was made by Telk#4038 for discord bot developers that would like to add animal facts, images and other things

Contact me on discord - Telk#4038

License

Released under the Apache 2.0 License

About

a Nice Random Api for node.js users

License:Apache License 2.0


Languages

Language:JavaScript 100.0%