Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

ubports/ubports-api-node-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UBports API node module

Build Status Coverage Status

DEPRECATION NOTICE: This module has been deprecated. It's functionality has been re-implemented as a part of the UBports Installer source code.

This is a nodejs module to talk to ubports apis and services, built using modern javascript.

Docs

This package combines modules for different modules to access different APIs:

  • Devices: (DEPRECATED) Access basic information about every device
  • Installer: Access the UBports Installer API

Basic usage example

const UbpApi = require("./src/module.js");

const installer = new UbpApi.Installer();
installer.getDevices().then(console.log);

License

Original development by Marius Gripsgård and Jan Sprinz. Copyright (C) 2017-2020 UBports Foundation.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Access the various UBports APIs from nodejs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published