lpinca / Nodify

Node Shopify connector

Home Page:http://www.microapps.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodify-Shopify

Version npm Build Status

Node connector for the Shopify API. Talk to Shopify API speaking node!

Use Nodify-Shopify to grab all Shopify API resources. It also handles authentication (using the new OAuth2 API) and billing.

Usage:

Private app

var nodify = require('nodify-shopify');
var session = nodify.createPrivateAppSession('your-shop-name', 'your-api-key', 'your-password');

session.orders.all({ limit: 5 }, function (err, orders) {
  if (err) throw err;

  console.log(orders);
});

Public app

var nodify = require('nodify-shopify');
var session = nodify.createSession(shopName, apiKey, secret, persistentOauth2Token);

session.order.all({ limit: 5 }, function (err, orders) {
  if (err) throw err;

  console.log(orders);
});

You also have a Demo app to get the ball rolling, called Nodify-App. Check that out to get a better understanding of how this module works, notably in case you want to dynamically retrieve the OAuth2 token, or check the tests.

Installation:

$ npm install nodify-shopify

Dependencies:

request

Install dependencies:

$ npm install -d

Become a master of the Shopify ecosystem by:

Use a frontend framework which mimics the Shopify merchant admin:

Shopify Embedded App Frontent Framework

Contributors:

Supported by microapps

License

MIT

About

Node Shopify connector

http://www.microapps.com

License:MIT License


Languages

Language:JavaScript 78.9%Language:CoffeeScript 21.1%