{"library":"shopify-node-api","title":"shopify-node-api","description":"Node.js module for Shopify API OAuth2 authentication and REST requests. Version 1.11.1 provides support for public and private Shopify apps, handling OAuth token exchange, signature verification, and CRUD operations. It is an older, unmaintained library with minimal updates since 2016. Compared to alternatives like shopify-api-node or @shopify/shopify-api, it lacks TypeScript support, modern API features, and active maintenance.","language":"javascript","status":"abandoned","last_verified":"Sat Apr 25","install":{"commands":["npm install shopify-node-api"],"cli":null},"imports":["const shopifyAPI = require('shopify-node-api');","const Shopify = new shopifyAPI({ shop: '...', shopify_api_key: '...' });","Shopify.buildAuthURL();"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const shopifyAPI = require('shopify-node-api');\n\nconst Shopify = new shopifyAPI({\n  shop: 'my-shop',\n  shopify_api_key: process.env.SHOPIFY_API_KEY ?? '',\n  shopify_shared_secret: process.env.SHOPIFY_SECRET ?? '',\n  shopify_scope: 'write_products',\n  redirect_uri: 'http://localhost:3000/finish_auth',\n  nonce: 'random-nonce'\n});\n\n// Build authorization URL\nconst authUrl = Shopify.buildAuthURL();\nconsole.log('Authorize at:', authUrl);\n\n// After Shopify redirects back, exchange temporary token\napp.get('/finish_auth', (req, res) => {\n  Shopify.exchange_temporary_token(req.query, (err, data) => {\n    if (err) return res.status(500).send(err.message);\n    // access_token available in data.access_token\n    res.send('Authenticated!');\n  });\n});","lang":"javascript","description":"Shows OAuth flow: initialize, build auth URL, exchange token for permanent access.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}