0.0.3 • Published 5 years ago

amplifr-node v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Amplifr API for NodeJS

Usage

npm -i amplifr-node

const Amplifr = require('amplifr-node');

const client = new Amplifr('your amplifr token string');

client.projects().then(res => {
  console.log(JSON.stringify(res));
  let project = client.project(res.projects[0].id);

  project.posts({ today: true }).then(res => {
    console.log(res.posts.length);
  })
})