Skip to content

Official Podio JavaScript SDK for node and the browser

License

Notifications You must be signed in to change notification settings

purple-technology/podio-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Publishing

To publish new version there is possible (instead npm publish) use fully-automated command (npm version) to bump version, bump git tag and publish new npm package version in one command:

npm version patch // update patch version number 1.2.X (v1.2.3 to v1.2.4)
npm version minor // update minor version number  1.X.3 (v1.2.3 to v 1.3.0)
npm version major // update major version number  X.2.3 (v1.2.3 to v 2.0.0)
You can use --m "Commit message here" to customize auto-bump commit message.

More command options here: https://docs.npmjs.com/cli/version (i.e. --force)

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

About

Official Podio JavaScript SDK for node and the browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%