0.0.10 • Published 1 year ago

tienda-nube-js-sdk v0.0.10

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

tienda-nube-js-sdk

Introduction:

This is a simple sdk that wraps some requests to Tienda Nube's endpoints. It provides easy configuration and methods to be able to manage the store from any app. Currently I just deployed the js version, in the future I will deploy the @types package so that you can use it with typescript.

How to use:

First install the dependency:

npm install tienda-nube-js-sdk

or

yarn add tienda-nube-js-sdk

Then import it and start using it:

const tiendaNubeSDK = require("tienda-nube-js-sdk")
const tiendaNubeClient = new tiendaNubeSDK.TiendaNubeClient({
    accessToken: "<YOUR_ACCESS_TOKEN>",
    storeId: "<YOUR_STORE_ID>"
})

Then you can get information using the available methods:

tiendaNubeClient.getProducts().then((products) => {
    console.log(products)
})

Currently implemented

  • Products
  • Categories
  • Images
  • Orders

References

For more information you can read the TiendaNube API documentation, here.

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago