Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

germanrcuriel/slack-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-api-client

NPM Version Build Status Package downloads

var SlackClient = require('slack-api-client');

var slack = new SlackClient('token');

slack.api.chat.postMessage({
  channel: '#notifications',
  username: 'Slack Client',
  text: 'Hello world!'
}, function (err, res) {
  if (err) { throw err; }
  console.log(res);
});

Installation

$ npm install slack-api-client

API and documentation

More information at Slack API Documentation

Running Tests

To run the test suite, first invoke the following command within the repo, installing the development dependencies:

$ npm install

Then run the tests:

$ npm test

License

MIT

About

A Slack API client for node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •