UNPKG

migros-api-wrapper

Version:

Making the api of migros more accessible to the public.

11 lines (8 loc) 273 B
import { MigrosAPI } from "./api/MigrosAPI"; (async () => { const guestInfo = await MigrosAPI.account.oauth2.getGuestToken(); const response = await MigrosAPI.products.productSearch.listCategories({ leshopch: guestInfo.token, }); console.log(response); })();