wallapopUpdateWatcher


NamewallapopUpdateWatcher JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryA library to watch for new items at wallapop.es
upload_time2022-12-17 02:25:24
maintainer
docs_urlNone
authorAdair Gondan
requires_python>=3
license
keywords wallapop api updates
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Wallapop update notifier

### This package can be use to provide updates when new products appear on Wallapop. Install it just by using:<br><br>
`pip install wallapopUpdateWatcher`
### Basic usage example
```python
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())
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "wallapopUpdateWatcher",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "wallapop api updates",
    "author": "Adair Gondan",
    "author_email": "<adairyves@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/71/2d/1c7a4b58c1a7d7590889cc25d26d9928f01a61d1e52c0c22907f23111ca0/wallapopUpdateWatcher-0.0.4.tar.gz",
    "platform": null,
    "description": "# Wallapop update notifier\r\n\r\n### This package can be use to provide updates when new products appear on Wallapop. Install it just by using:<br><br>\r\n`pip install wallapopUpdateWatcher`\r\n### Basic usage example\r\n```python\r\nfrom wallapopUpdateWatcher import updateWatcher,Query,Producto\r\nimport asyncio\r\nasync def callback(q: Query, l: list[Producto])\r\n    for prod in producto:\r\n        print(q.msg())\r\n\r\n\r\nasync def main()\r\n    watcher = wallapopUpdateWatcher(callback)\r\n    await watcher.create(\"Keywords\",(15,30))\r\n    # this creates a search for the product \"Keywords\"\r\n    # between 15\u00e2\u201a\u00ac and 30\u00e2\u201a\u00ac. \r\n\r\n    while(True):\r\n        await watcher.checkOperation()\r\n        await asyncio.sleep(5)\r\n\r\nasyncio.run(main())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A library to watch for new items at wallapop.es",
    "version": "0.0.4",
    "split_keywords": [
        "wallapop",
        "api",
        "updates"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "fd656d3194fde5bd7c84904a2a0305eb",
                "sha256": "78e220032cc946ad5eae83800a5a0d269e7cebb09e0254965886244401e82efb"
            },
            "downloads": -1,
            "filename": "wallapopUpdateWatcher-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd656d3194fde5bd7c84904a2a0305eb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 17938,
            "upload_time": "2022-12-17T02:25:21",
            "upload_time_iso_8601": "2022-12-17T02:25:21.972221Z",
            "url": "https://files.pythonhosted.org/packages/47/76/d58a563a5e0399ff4336db824888cf621bfebdcd6a9f8832f1b932fbbb8d/wallapopUpdateWatcher-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "8cd8dc81990909bdeb3f07f0b0188d30",
                "sha256": "6ea4e13192969f9bf385ce635cd47fe4a7c7fb080a6c1a86f06725684a23993d"
            },
            "downloads": -1,
            "filename": "wallapopUpdateWatcher-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "8cd8dc81990909bdeb3f07f0b0188d30",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 17123,
            "upload_time": "2022-12-17T02:25:24",
            "upload_time_iso_8601": "2022-12-17T02:25:24.513382Z",
            "url": "https://files.pythonhosted.org/packages/71/2d/1c7a4b58c1a7d7590889cc25d26d9928f01a61d1e52c0c22907f23111ca0/wallapopUpdateWatcher-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-17 02:25:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "wallapopupdatewatcher"
}
        
Elapsed time: 0.02033s