0.0.6 • Published 11 months ago

printful-client-ts v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Printful Client

A fully typed, fully featured Node.JS Client written for https://printful.com/

Getting Started

Typescript Highly Recommended

This library mirrors the API 1:1 (with exception of the Ecommerce Sync API, Reports API comming soon)

import PrintfulClient, { PrintfulConfig } from "printful-client-ts"


const config = new PrintfulConfig("<API_KEY>")

const printful = new PrintfulClient(config)

const { fault, code, result, error } = await printful.products.getSyncProducts()

if (code == 200) {
    console.log(result)
}

Faults

A fault occurs whenever the Printful API returns an unexpected error

Docs

WIP 🚧

2023 Imaginewear

0.0.3

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.6

11 months ago

0.0.2

1 year ago

0.0.1

1 year ago