0.0.9 • Published 9 years ago

testdroid-client v0.0.9

Weekly downloads
3
License
Apache2
Repository
github
Last release
9 years ago

testdroid-client

testdroid-client is a client library for interacting with the Bitbar testdroid cloud API.

Installation

$ npm install testdroid-client

Usage

Examples can be found here

Creating testdroid client instance

var Testdroid = require('testdroid-client');

var username = 'joe@example.com';
var password = '123456';
var cloudUrl = 'http://cloudurl/';

var client = new Testdroid(cloudUrl, username, password);

Listing all devices

client.getDevices().then(function(devices) {
    console.dir(getDevices);
});

Listing devices matching a particular name

var device;
client.getDeviceByName('t2m flame').then(function(deviceInfo) {
    device = deviceInfo;
});

Create device session

var session;
client.startDeviceSession(device.id).then(function(sessionInfo) {
    session = sessionInfo;
});

Create a proxy session for ADB

var adbProxy;
client.getProxy('adb', session.id).then(function(proxyInfo) {
    adbProxy = proxyInfo;
});
0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.5-alpha1

9 years ago

0.0.4

9 years ago

0.0.4-alpha4

9 years ago

0.0.4-alpha3

9 years ago

0.0.4-alpha2

9 years ago

0.0.4-alpha1

9 years ago

0.0.3

9 years ago

0.0.2-alpha1

9 years ago

0.0.2

9 years ago

0.0.1-alpha5

9 years ago

0.0.1-alpha4

9 years ago

0.0.1-alpha3

9 years ago

0.0.1-alpha2

9 years ago

0.0.1-alpha1

9 years ago

0.0.1

9 years ago