0.0.2 • Published 9 years ago

quickwiki v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Scrapper for Wikipedia that can be used as CLI or module.

Console example

Build Status

Usage

CLI

$ qw --help

  Usage: qw [names]

  Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -i --input <path>     File with names
    -o --output <path>    Output file
    -s --server <server>  For example: en, ru, fr

Examples

qw github
# Will output same as on screenshot

qw github -output result.txt
# Will save result to result.txt

qw -i queries.txt
# Will take words separated by space and get info about each

Module

var wiki = require('quickwiki');

wiki('github', { "server": "en" }, function(response) {
  console.log(response);
});

Dev

git clone https://github.com/G07cha/QuickWiki.git
npm install
npm test

License

MIT © Konstantin Azizov