pbx-client

1.0.0-beta-03 • Public • Published

PBX-Client

Dynamically generates a JavaScript client based on PBX API description.

client = require "pbx-client"
 
client.discover "http://api.acme.com"
.then (api) ->
  api.widgets.get()
  .then (response, body) ->
    body.then (widgets) ->
      # do something with widgets... 

Readme

Keywords

none

Package Sidebar

Install

npm i pbx-client

Weekly Downloads

2

Version

1.0.0-beta-03

License

ISC

Last publish

Collaborators

  • dyoder