pgb-api

1.1.2 • Public • Published

pgb-api npm

This is a nodejs module to access the public REST api of PhoneGap Build.

The module can be added to your project with:

> yarn add pgb-api
 
or
 
> npm install pgb-api --save

Here is a snippet to print out your apps to the console:

const pgb = require('pgb-api')()
 
pgb.addAuth('your-api-token')
pgb.getApps()
  .then(console.log)
  .catch(console.error)
 

A cheatsheet is here.

If you find a bug or have a feature request tell me about it here.

Follow me on twitter @brettrudd

Dependents (2)

Package Sidebar

Install

npm i pgb-api

Weekly Downloads

18

Version

1.1.2

License

MIT

Unpacked Size

14.2 kB

Total Files

4

Last publish

Collaborators

  • goya
  • pgb-owner