Official chucknorris.io api client for node.js
chucknorris.io is a free JSON API for hand curated Chuck Norris facts.
Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet
phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims
about Norris' toughness, attitude, virility, sophistication, and masculinity.
Chuck Norris facts have spread around the world, leading not only to translated versions, but also spawning localized
versions mentioning country-specific advertisements and other Internet phenomena. Allusions are also sometimes made to
his use of roundhouse kicks to perform seemingly any task, his large amount of body hair with specific regard to his
beard, and his role in the action television series Walker, Texas Ranger.
Installation
npm install chucknorris-io
Usage
const Chuck = require('chucknorris-io'),
client = new Chuck();
client.getRandomJoke().then(function (response) {
}).catch(function (err) {
});
client.getRandomJoke('dev').then(function (response) {
}).catch(function (err) {
});
client.getJokeCategories().then(function (response) {
}).catch(function (err) {
});
License
This distribution is covered by the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007.
Support & Contact
Having trouble with this repository? Check out the documentation at the repository's site or contact m@matchilling.com and we’ll help you sort it out.
Happy Coding
:v: