Skip to content

isacna/ixc-soft-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API IXC Soft

Este módulo permite que você faz consultas no seu ERP de forma automática, passando apenas alguns parametros de forma simples.

Uso

Instalar pacote usando NPM

npm install api-ixc-soft

Instancie a class e exporte.

import IXC from "api-ixc-soft"

export const ixc = new IXC({
    url: `https://HOST.com.br`,
    credentials: {token: `Basic ******`} or {username: "123", password: "41837b8eb82f1e60e148823a..."}
    })

Exemplo request:

const row = async () => {
    const result = await ixc.list("cliente", {
        qtype: "id",
        query: "123",
        oper: "=",
        page: "1",
    });
    return result;
};
row().then((item) => console.log(item));

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published