Comparing version 0.3.12 to 0.3.13
{ | ||
"name": "myob", | ||
"version": "0.3.12", | ||
"version": "0.3.13", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:ordermentum/myob-javascript-sdk.git", |
# MYOB AccountRight 2.0 Javascript SDK | ||
MYOB AccountRight 2.0 SDK (unofficial). | ||
MYOB AccountRight 2.0 SDK (unofficial) for Node.js. | ||
see `examples/` on how to use the SDK. | ||
See http://developer.myob.com/api/accountright/ for more details and registration for the API. | ||
## Resources Currently Supported | ||
* /Inventory/Item | ||
* /Sale/Invoice/Item | ||
* /Contact/Customer | ||
* /Contact/Employee | ||
* /GeneralLedger/TaxCode | ||
* /GeneralLedger/Account | ||
* /GeneralLedger/Job | ||
* /GeneralLedger/Category | ||
# Usage | ||
```bash | ||
yarn add myob | ||
``` | ||
```javascript | ||
const myob = require('myob').default; | ||
const client = myob.createClient({ | ||
clientId: process.env.MYOB_CLIENT_ID, | ||
secret: process.env.MYOB_SECRET, | ||
}); | ||
``` | ||
see `examples/` more example code |
32273
36