tienda-nube-js-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

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.

/tienda-nube-js-sdk/

    Package Sidebar

    Install

    npm i tienda-nube-js-sdk

    Weekly Downloads

    0

    Version

    0.0.10

    License

    none

    Unpacked Size

    33.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • juanmapuhl