easyebay


Nameeasyebay JSON
Version 0.1.1 PyPI version JSON
download
home_page
SummaryA library for scraping items from eBay
upload_time2023-08-12 20:43:48
maintainer
docs_urlNone
authorDrEgg
requires_python>=3.8,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div style="text-align: center">

# Easy eBay

*A library for scraping items from eBay*

</div>

## To begin with

Here is a sample code

##### Example 1

```python
import easyebay

result = easyebay.search(keyword="4090",
                         pageNum="1",
                         maxPrice="1000",
                         minPrice="500",
                         conditions=[easyebay.condition.used])

parsed = easyebay.parseSearch(result)

for item in parsed:
    print(item.title, item.price, item.shipping, item.url)
```

Here's a sample output

```text
YASKAWA CDBR-4090B B... $989.99 None https://www.ebay...
LOT OF 5 Motorola RS... $769.69 None https://www.ebay...
MELLTRONICS 222-4090... $750.00 None https://www.ebay...
...
```

`easyebay.search` returns the html, and easyebay.parseSearch returns `easyebay.item` object. This is the definition of
item object

```python
class item():
    title: str
    condition: str
    price: str
    seller: list
    shipping: str
    returns: str
    sold: str
    url: str
    image: str
```
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "easyebay",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "DrEgg",
    "author_email": "public@dregg.me",
    "download_url": "https://files.pythonhosted.org/packages/2a/44/8b223703d31496b6b600535e12e6d1737ad46b6f171b86c6095b147c7935/easyebay-0.1.1.tar.gz",
    "platform": null,
    "description": "<div style=\"text-align: center\">\n\n# Easy eBay\n\n*A library for scraping items from eBay*\n\n</div>\n\n## To begin with\n\nHere is a sample code\n\n##### Example 1\n\n```python\nimport easyebay\n\nresult = easyebay.search(keyword=\"4090\",\n                         pageNum=\"1\",\n                         maxPrice=\"1000\",\n                         minPrice=\"500\",\n                         conditions=[easyebay.condition.used])\n\nparsed = easyebay.parseSearch(result)\n\nfor item in parsed:\n    print(item.title, item.price, item.shipping, item.url)\n```\n\nHere's a sample output\n\n```text\nYASKAWA CDBR-4090B B... $989.99 None https://www.ebay...\nLOT OF 5 Motorola RS... $769.69 None https://www.ebay...\nMELLTRONICS 222-4090... $750.00 None https://www.ebay...\n...\n```\n\n`easyebay.search` returns the html, and easyebay.parseSearch returns `easyebay.item` object. This is the definition of\nitem object\n\n```python\nclass item():\n    title: str\n    condition: str\n    price: str\n    seller: list\n    shipping: str\n    returns: str\n    sold: str\n    url: str\n    image: str\n```",
    "bugtrack_url": null,
    "license": "",
    "summary": "A library for scraping items from eBay",
    "version": "0.1.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6fbdd9f2b0fb3b1b9ffee758d2d2dab0eb88d8aa6c5849a0804f8b5faf858b5",
                "md5": "620aa6d80de44cc0152835875d914ebd",
                "sha256": "ef25f8a57eef522774fb490348d0f4209c9a4ea63d42501e585bfcbaa7729542"
            },
            "downloads": -1,
            "filename": "easyebay-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "620aa6d80de44cc0152835875d914ebd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 6166,
            "upload_time": "2023-08-12T20:43:47",
            "upload_time_iso_8601": "2023-08-12T20:43:47.173669Z",
            "url": "https://files.pythonhosted.org/packages/b6/fb/dd9f2b0fb3b1b9ffee758d2d2dab0eb88d8aa6c5849a0804f8b5faf858b5/easyebay-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a448b223703d31496b6b600535e12e6d1737ad46b6f171b86c6095b147c7935",
                "md5": "90078e43bc172043eb53da121ae32aa9",
                "sha256": "e8f6cfe32a08ad3d7530add7a7749792e9a627d846ed5c684224d61a068ede5a"
            },
            "downloads": -1,
            "filename": "easyebay-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "90078e43bc172043eb53da121ae32aa9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 4679,
            "upload_time": "2023-08-12T20:43:48",
            "upload_time_iso_8601": "2023-08-12T20:43:48.779460Z",
            "url": "https://files.pythonhosted.org/packages/2a/44/8b223703d31496b6b600535e12e6d1737ad46b6f171b86c6095b147c7935/easyebay-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-12 20:43:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "easyebay"
}
        
Elapsed time: 0.32030s