place-api

A simple library to interface with the Place REST API. See https://developer.placepay.com for details.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
place-api
020.5.44 years ago4 years agoMinified + gzip package size for place-api in KB

Readme

Place Node.js Library
A Node library for interfacing with the Place API

Installation

To install using npm:
npm install place-api

Basic usage

var place = require('place');

// set your api key
place.api_key = = 'private_key_6fsMi3GDxXg1XXSluNx1sLEd';

var account = place.Account.create({
  email: 'joe.schmoe@example.com',
  full_name: 'Joe Schmoe',
  user_type: 'payer'
}).then(function(account) {
  console.log(account.id)
});

Documentation

Read the docs