Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

podio/podio-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0c7a893 · Jan 22, 2018
Oct 18, 2016
Oct 4, 2017
Jan 17, 2017
Apr 21, 2015
Oct 15, 2015
Apr 21, 2015
Aug 4, 2016
Apr 21, 2015
Jan 22, 2018
Oct 5, 2017

Repository files navigation

No Maintenance Intended

podio-js Build Status Dependency Status Coverage

Official Podio JavaScript SDK for Node and the browser

Installation

$ npm install podio-js --save

Usage

Node

var Podio = require('podio-js').api;

var podio = new Podio({
  authType: 'server',
  clientId: 'id',
  clientSecret: 'secret'
});

Express Middleware

Simple express middleware for storing the Podio token

app.use(require('podio-js').middleware({
  clientId: 'id',
  clientSecret: 'secret'
}));

Browser

If you are using and AMD/CommonJS compatible module loader you can require the module:

var PodioJS = require('podio-js');

If you are not using a loader, browserify podio-js like this:

$ npm install -g browserify

$ npm run bundle

and include dist/podio-js.js using a <script> tag.

Documentation

You will find a detailed documentation at http://podio.github.io/podio-js/ and at https://developers.podio.com/

Tests

$ npm test