/nemo-connector

Connector for nemo plugins.

Primary LanguageJavaScript

This is a connector to the nemo backend.

import Connector from 'nemo-connector';
const connector = new Connector();

Sending scores

Returns a Promise

connector.addScores({
  eventId: i * 2,
  timestamp: Date.now(),
  score: i * 10,
  pluginId: 'fake',
  personId: 'fake',
})