A Node library for interfacing with the Place API
To install using npm:
npm install place-api
var place = require('place-api');
// 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)
});
Read the docs