JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 44
  • Score
    100M100P100Q78483F
  • License ISC

A NodeJS wrapper module for Space Invoices API

Package Exports

  • space-invoices

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (space-invoices) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Space Invoices Node.js SDK

The Space Invoices SDK provides an easy way to access Space Invoices API from application written NodeJs.

Documentation

Detailed documentation about the API can be found at docs.spaceinvoices.com

We also invite you to join our Slack community channel Space Invaders

Installation

Install the package with:

npm install space-invoices --save

Usage

API_KEY and ACCOUNT_ID can be obtained in our Slack channel by joining here: joinslack.spaceinvoices.com

var SpaceInvoices = require('space-invoices');
var spaceInvoices = new SpaceInvoices('API_KEY');

Example usage of SpaceInvoices SDK for creating an Organization.

var accountId = 'ACCOUNT_ID';

spaceInvoices.organization.create(accountId, {
  name: 'Studio404', 
  country: "USA"
})
.then(function(organization) {
  console.log(organization);
})
.catch(function(error) {
  console.error(error);
});

Visit our website spaceinvoices.com