Skip to content

A Hubot script for interacting with Wikipedia's API (searching for articles and returning extracts).

License

Notifications You must be signed in to change notification settings

lgaticaq/hubot-wikipedia-lang

 
 

Repository files navigation

hubot-wikipedia-lang

npm version npm downloads Build Status Coverage Status Code Climate dependency Status devDependency Status

A Hubot script for search articles in Wikipedia

Install

npm i -S hubot-wikipedia-lang

Add ["hubot-wikipedia-lang"] in external-scripts.json.

Set optional HUBOT_WIKIPEDIA_LANG (default en) in environment variable to change default language.

Example

hubot wiki search <query> -> Get the first 5 articles

hubot wiki summary <article> -> Get a one-line description

hubot wiki language <language> -> Set a language for search

License

MIT

About

A Hubot script for interacting with Wikipedia's API (searching for articles and returning extracts).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%