tugg-api

0.2.1 • Public • Published

tugg-api - Tugg API node module Build Status

Access the Tugg API with Nodejs.

Installation

To install via NPM type the following: npm install tugg-api

You can also install via git by cloning:

git clone https://github.com/lukewendling/tugg-api.git /path/to/project`

Usage

var TuggApi = require('./index');
var helper = require('./lib/api_helper');

var tugg = new TuggApi(API_KEY);

tugg.event(TUGG_EVENT_ID, function(err, response) {
  var event = helper.trimNamespace('event', response);
  console.log(event);
});

Current Features

This module is limited to the following API methods:

  • events
  • titles
  • page_shares

Readme

Keywords

none

Package Sidebar

Install

npm i tugg-api

Weekly Downloads

3

Version

0.2.1

License

BSD

Last publish

Collaborators

  • lukewendling