Skip to main content

A library to watch for new items at wallapop.es

Project description

Wallapop update notifier

This package can be used 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 l:
        print(prod.msg())


async def main():
    watcher = updateWatcher(callback)
    await watcher.create("Iphone",strategy="price", min_max_sale_price = (15,30))
    # this creates a search for the product "Iphone"
    # between 15€ and 30€. 

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

asyncio.run(main())

Strategies:

Strategies are what decides if a product that has already appeared sometime is going to be notified. There are 3 strategies:

  • Price: This strategy only adds the product if its price has changed. It is the default strategy.

  • New: This strategy only notifies new products.

  • Any: This strategy notifies any product, even if it has already been notified.

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.1.3.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

wallapopupdatewatcher-0.1.3-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file wallapopupdatewatcher-0.1.3.tar.gz.

File metadata

  • Download URL: wallapopupdatewatcher-0.1.3.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.0 Windows/10

File hashes

Hashes for wallapopupdatewatcher-0.1.3.tar.gz
Algorithm Hash digest
SHA256 78b9bc5052bd589cee813c395a16e460d0d4702e22eddec9c19d35a5c616dc2c
MD5 880ecbfa2404a034b50d80bf41e845fa
BLAKE2b-256 97d2eeeca7434d034d02bc68df1135aec0df491b5082bd0789bd360063de3efa

See more details on using hashes here.

File details

Details for the file wallapopupdatewatcher-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for wallapopupdatewatcher-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46876e3bc4bd07a956121d9c64270e758fed6346db00b1bb89b53c2c2ebc5520
MD5 c9b6ed3583b044a37c2cae02656a49e1
BLAKE2b-256 e11d8f2fe8220dbb739589ae2ab7d40b0fcfe46edd72de7e9c76801fe77c8188

See more details on using hashes here.

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