Skip to content

Simple javascript based activity tracker for spluga

Notifications You must be signed in to change notification settings

mondora/spluga-tracker-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spluga

spluga-tracker-js

Simple javascript based activity tracker for spluga

about

Activity tracker for the spluga ecosystem. More info about spluga can be found at spluga.io. Spluga is based on Omnia software platform.

usage

import createTracker from "spluga-tracker-js";

const option = {...};
const tracker = await createTracker(option)
await tracker(quantity,unity);

option

  • activityEndpoint: spluga endpoint to record activity (required)
  • clientId: spluga clientId (required)
  • clientSecret: spluga client secret (required)
  • player: spluga player name (required)
  • tokenEndpoint: spluga endpoint to autheticate api request (required)
  • raiseError: [false] if false all error from the library are suppressed
  • verbose: [false] enable stdout logging or not
  • name: [Api Integrations] activity name

info

The library is designed to eventually fail silently, to avoid interference in the functionalities of the hosting software.

contribution

Feel free to fork and contribute. Made with love in mondora.

About

Simple javascript based activity tracker for spluga

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published