Skip to content
/ urban Public
forked from mvrilo/urban

Command line tool and API for the Urban Dictionary

License

Notifications You must be signed in to change notification settings

rgroli/urban

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urban

The Urban Dictionary has a JSON API which can be easily accessed via URLs like this: http://api.urbandictionary.com/v0/define?term=kvlt

installation

$ npm install -g urban # bin
$ npm install urban # lib

examples

bin

$ urban facepalm
$ urban -r // random mode

lib

var urban = require('urban'),
    trollface = urban('trollface');

trollface.first(function(json) {
    console.log(json);
});


// Random mode
var urban = require('urban');

urban.random().first(function(json) {
    console.log(json);
});

license

MIT

About

Command line tool and API for the Urban Dictionary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%