Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/goya/pgb-api

Nodejs module for accessing the REST api on PhoneGap Build
https://github.com/goya/pgb-api

api-client cordova phonegap phonegap-build

Last synced: about 1 month ago
JSON representation

Nodejs module for accessing the REST api on PhoneGap Build

Awesome Lists containing this project

README

        

# pgb-api npm
This is a nodejs module to access the public REST api of [PhoneGap Build](https://build.phonegap.com).

The module can be added to your project with:

```javascript
> yarn add pgb-api

or

> npm install pgb-api --save
```

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

```javascript
const pgb = require('pgb-api')()

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

```

A cheatsheet is [here](CHEATSHEET.md).

If you find a bug or have a feature request tell me about it [here](https://github.com/phonegap-build/pgb-api/issues).

Follow me on twitter **@brettrudd**