bufferapi

1.1.0 • Public • Published

An unofficial API wrapper for Buffer

Quickstart

Install

npm install --save bufferapi

Use

const client = require('bufferapi')

const getProfiles = async () => {
  var token = 'YOUR_BUFFER_TOKEN'
  var profiles = await client({endpoint: '/profiles', token: token}) //returns a promise
  console.log(profiles)
}

Buffer endpoints

GET /profiles /profiles/:id /profiles/:id/schedules

POST /profiles/:id/schedules/update

GET /updates/:id /profiles/:id/updates/pending /profiles/:id/updates/sent

POST /profiles/:id/updates/reorder /profiles/:id/updates/shuffle /updates/create /updates/:id/update /updates/:id/share /updates/:id/destroy /updates/:id/move_to_top

Readme

Keywords

none

Package Sidebar

Install

npm i bufferapi

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • focuswish