1.1.7 • Published 7 years ago
werdino-webhook v1.1.7
werdino-webhook
Slack webook based on werdino web scraper.
Install
Add the Werdino Webhook dependency in your package.json
file:
yarn add werdino-webhook
Usage
const werdinoWebhook = require('werdino-webhook');
werdinoWebhook()
.then(({ data }) => {
console.log(data);
})
.catch(err => {
console.error(err);
});
The POST endpoint need to be defined as an environment variable as:
WEBHOOK_URL=<URL of the POST endpoint>