Neptunium, Promethium, Manganese

    hubot-request-arm

    0.2.1 • Public • Published

    hubot-request-arm

    A Hubot arm that send HTTP request.

    Installation

    $ npm install --save hubot-arm hubot-request-arm
    

    Usage

    module.exports = function(robot) {
      // attach hubot-arm to robot
      require('hubot-arm')(robot)
     
      robot.respond(/bouzuya/i, function(msg) {
        // use hubot-request-arm
        msg.robot.arm('request')({
          method: 'GET',
          url: 'http://bouzuya.net/',
          format: 'html'
        }).then(function(res) {
          msg.send(res.$('title'));
        });
      });
    };

    Development

    npm run

    License

    MIT

    Author

    bouzuya <m@bouzuya.net> (http://bouzuya.net)

    Badges

    Build Status Dependencies status Coverage Status

    Install

    npm i hubot-request-arm

    DownloadsWeekly Downloads

    1

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • bouzuya