0.0.5 • Published 2 years ago

marktguru.at v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Unofficial Marktguru library

A library to search for offers on marktguru.at.

Heavily inspired by marktguru.

Usage

import { search } from 'marktguru.at';

(async () => {
    try {
        const query = 'Cola';
        const offers = await search(query, { limit: 10 });
        console.log(offers);
    } catch (error) {
        // error is an axios error, see https://axios-http.com/docs/handling_errors for more infos
        console.error(error);
    }
})();

Search Options

KeyDescriptionDefault
limitSet the limit of offers to receive1000
offsetSkip as many offers as offset is set0
allowedRetailersAn array of retailers. See here for some retailers[]
zipCodeThe zip code of area/city where to search for offers1010

Returned data

How an returned offer object looks like, you can see here.

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago