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] (https://www.npmjs.org/package/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] (http://seaff.microapps.com?utm_source=nodify-module-repo-readme&utm_medium=click&utm_campaign=github)
Contributors:
[Carlos Villuendas] (https://github.com/carlosvillu/)
[Kenrick Beckett] (https://github.com/kenrick/)
[Alexandre Saiz] (https://github.com/alexandresaiz/)
[Florian Traverse] (https://github.com/temsa/)
[Alua Kinzhebayeva] (https://github.com/Alua-Kinzhebayeva)
Supported by microapps
License
(The MIT License)
Copyright (c) 2012-2016 microapps
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.