This package has been deprecated

Author message:

reason message

kp_module

1.0.0 • Public • Published

Kupujemprodajem Live

Modul koji "sluša" nove oglase na kupujemprodajem.com

API

const Kp = require('kupujemprodajem');
const kp = new Kp();

kp.on('data', (oglas) => {
    /*{
        ad_id: 87019458,
        ad_url: '/Bela-tehnika-i-kucni-aparati/...',
        name: 'Kamin Alfa-plam Rustik',
        thumbnail: 'photos/oglasi/8/....jpeg',
        price: '220,00 €',
        posted: '2019-11-27 22:23:27',
        currency: 'eur',
        lat: '44.3671910',
        lon: '20.9604515',
        location_id: 29,
        html: '\n' +...'
    }*/
});

Events

  • data - novi oglas.
  • error - ukoliko se desi neka greška.
  • connected - kada je konekcija uspostavljena.
  • disconnected - kada je konekcija prekinuta.

Readme

Keywords

Package Sidebar

Install

npm i kp_module

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

2.61 kB

Total Files

4

Last publish

Collaborators

  • npm