Skip to content

lpetrora/node-andreani-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Andreani Shipping Library

En esta librería se ofrecen interfaces y métodos que faciliten el uso de la API de Andreani. Se corrigió el bug para la descarga de etiquetas.

Instalación

npm install --save node-andreani-api

Uso

import { Andreani } from "node-andreani";

const andreani = new Andreani({
  credentials: {
    CONTRATO_DOMICILIO: "CONTRATO_DOMICILIO",
    CONTRATO_SUCURSAL: "CONTRATO_SUCURSAL",
    CODIGO_CLIENTE: "CODIGO_CLIENTE",
    USER: "USER",
    PASS: "PASS",
  },
  options: {
    use: "sandbox",
    sandbox_url: "https://apisqa.andreani.com/",
    production_url: "https://apis.andreani.com",
  },
});

//.....


await andreani.obtenerTrazas(trackingNumber);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%