Skip to main content

A library to watch for new items at wallapop.es

Project description

Wallapop update notifier

This package can be use to provide updates when new products appear on Wallapop. Install it just by using:

pip install wallapopUpdateWatcher

Basic usage example

from wallapopUpdateWatcher import updateWatcher,Query,Producto
import asyncio
async def callback(q: Query, l: list[Producto])
    for prod in producto:
        print(q.msg())


async def main()
    watcher = wallapopUpdateWatcher(callback)
    await watcher.create("Keywords",(15,30))
    # this creates a search for the product "Keywords"
    # between 15€ and 30€. 

    while(True):
        await watcher.checkOperation()
        await asyncio.sleep(5)

asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wallapopUpdateWatcher-0.0.4.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

wallapopUpdateWatcher-0.0.4-py3-none-any.whl (17.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page