Socket
Book a DemoInstallSign in
Socket

spencerlepine-sdk-js

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

spencerlepine-sdk-js

Printify SDK for JavaScript. Client for Node.js

unpublished
latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
0
Created
Source

Printify SDK for JavaScript (Node.js)

NPM Version Coverage MIT license

The Printify SDK for Node.js. A basic JavaScript wrapper for the Printify REST API (v1). Guidelines and source endpoints can be found here: developers.printify.com.

Getting started

Prerequisites

  • Printify API Token (documentation)

Installation

npm install spencerlepine-sdk-js

Usage

⚠️ For security purposes, this is intended only for server-side use, the API does not support CORS and will not process requests from a frontend application

const Printify = require('spencerlepine-sdk-js');
// import Printify from 'spencerlepine-sdk-js';

const printify = new Printify({
  shopId: '16326523', // global query by shop_id
  accessToken: API_TOKEN,
});

(async () => {
  const result = await printify.orders.submit({
    /* order details */
  });
  console.log(result.id);
})();

API

For the full documentation, please see API.md

Contributing

We welcome contributions from the community! If you're interested in contributing to this project, please read the CONTRIBUTING.md file to get started.

Disclaimer

This SDK is a third-party library and is not officially endorsed or maintained by Printify. It is provided "as is" without warranty of any kind. For official information and guidelines on using the Printify API, please refer to the Printify Developer Documentation.

License

MIT

Keywords

printify

FAQs

Package last updated on 26 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts