migros-api-wrapper
Version:
Making the api of migros more accessible to the public.
12 lines • 474 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const MigrosAPI_1 = require("./api/MigrosAPI");
(async () => {
const response = await MigrosAPI_1.MigrosAPI.account.oauth2.getGuestToken();
const products = await MigrosAPI_1.MigrosAPI.products.productStock.getProductSupply({
pids: "100024405",
costCenterIds: "0150180",
}, { leshopch: response.token });
console.log(products);
})();
//# sourceMappingURL=dev.js.map