Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-wikipedia

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-wikipedia

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

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

hubot-wikipedia

Build Status devDependency Status

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

See src/wikipedia.coffee for full documentation.

Installation via NPM

  1. Install the hubot-wikipedia module as a Hubot dependency by running:

    npm install --save hubot-wikipedia
    
  2. Enable the module by adding the hubot-wikipedia entry to your external-scripts.json file:

    [
        "hubot-wikipedia"
    ]
    
  3. Run your bot and see below for available config / commands

Commands

CommandListener IDDescription
hubot wiki search querywikipedia.searchReturns the first 5 Wikipedia articles matching the search query
hubot wiki summary articlewikipedia.summaryReturns a one-line description about article

Sample Interaction

user1>> hubot wiki summary clean room design
hubot>> Clean room design: Clean room design (also known as the Chinese wall technique) is the method of copying a design by reverse engineering and then recreating it without infringing any of the copyrights and trade secrets associated with the original design. Clean room design is useful as a defense against copyright and trade secret infringement because it relies on independent invention.
hubot>> Original article: https://en.wikipedia.org/wiki/Clean%20room%20design

Keywords

FAQs

Package last updated on 06 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc