2.1.5 • Published 10 years ago

revisit-tether v2.1.5

Weekly downloads
2
License
BSD
Repository
github
Last release
10 years ago

revisit.link tether

This runs a batch of API services together and returns the end result.

Usage

var RevisitTether = require('revisit-tether');
var rt = new RevisitTether({
  db: './db-tether'
});

Add

var service = {
  url: 'http://localhost:8000',
  token: '12345abc',
  content: {
    type: 'image/png',
    data: 'some content for an API'
  },
  meta: {
    audio: {
      type: false,
      data: false
    }
  }
};

rt.add(service, function (err, svc) {
  console.log(svc);
});

Get all services for a token

rt.getAll('12345abc', function (err, services) {
  console.log(services);
});

Play back all services

rt.play('12345abc', function (err, result) {
  console.log(result);
});
2.1.5

10 years ago

2.0.5

10 years ago

2.0.4

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago