UNPKG

migros-api-wrapper

Version:

Making the api of migros more accessible to the public.

11 lines 418 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const MigrosAPI_1 = require("./api/MigrosAPI"); (async () => { const guestInfo = await MigrosAPI_1.MigrosAPI.account.oauth2.getGuestToken(); const response = await MigrosAPI_1.MigrosAPI.products.productSearch.listCategories({ leshopch: guestInfo.token, }); console.log(response); })(); //# sourceMappingURL=dev.js.map