1.0.3 • Published 4 years ago
gathr-analytics v1.0.3
gathr-analytics

Quickstart
To create a event message...
1. Install
npm install gathr-analytics
2. Instance Class
const {GathrAnalytics} = require('gathr-analytics');
var handler = new GathrAnalytics('access_key_id','secret_access_key','region','version');
3. Setup FIFO Url
handler.setUrlQueue("url_fifo_aws");
API Summary
setUrlQueue(url) | To configure the url of the queue with which to work for the events | New in gathr-analytics@1.0.0 |
getEvents(numberOfMessages) | To get a list of events in the queue, you must specify the number of events to extract | New in gathr-analytics@1.0.0 |
addEvent(body, payload) | To add an event in the queue, you need to specify the body and the payload | New in gathr-analytics@1.0.0 |
deleteEvent(ReceiptHandle) | To remove an event in the queue, you must specify the Receipt Handle id | New in gathr-analytics@1.0.0 |