You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

space-invoices

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

space-invoices

A NodeJS wrapper module for Space Invoices API

1.2.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

TOKEN and ACCOUNT_ID can be obtained by signing up for a develoepr account on our website: spaceinvoices.com

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

Example usage of SpaceInvoices SDK for creating an Organization.

var accountId = 'ACCOUNT_ID';

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

Visit our website spaceinvoices.com

Keywords

space

FAQs

Package last updated on 16 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts