Skip to content

appsumo/Shopify-api-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Official Node Shopify connector sponsored by MONEI.net

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%