acb-api
Version:
a api that uses the animecharacterdatabase and access information from there
16 lines • 387 B
JavaScript
const a = require('./index');
a.get_character_by_id(55).then(res => {
console.log(res);
});
a.get_character_by_search('kirito').then(res => {
console.log(res);
});
a.get_anime_by_id(2220).then(res => {
console.log(res);
});
a.get_anime_by_search('sword art online').then(res => {
console.log(res);
});
a.get_random_character().then(res => {
console.log(res);
});