ah-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Forked from @rikvanhaaren/ah_shop_api using axios for react-native suppport

AH Logo AH Shop Api

'Unofficial' Albert Heijn shop api wrapper for Node.js

This is a node.js application that is connected to the Albert Heijn shop api. This api has the purpose to get product information by id.

Installation

npm i ah-api

then

const { AHShopClient } = require("ah-api");
const client = new AHShopClient();

or

import { AHShopClient } from "ah-api";
const client = new AHShopClient();

Getting Started

Get products by id:

client
  .product()
  .getProductByID(4117)
  .then((result) => {
    console.log(JSON.stringify(result));
  });

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

Package Sidebar

Install

npm i ah-api

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

7.04 kB

Total Files

7

Last publish

Collaborators

  • da-gus