To begin with
Here is a sample code
Example 1
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
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
class item():
title: str
condition: str
price: str
seller: list
shipping: str
returns: str
sold: str
url: str
image: str
Release files for easyebay 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easyebay-0.1.1.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easyebay-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / easyebay-0.1.1.tar.gz
| Download URL | easyebay-0.1.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8f6cfe32a08ad3d7530add7a7749792e9a627d846ed5c684224d61a068ede5a
|
|
BLAKE2b-256 checksum How to use checksums |
2a448b223703d31496b6b600535e12e6d1737ad46b6f171b86c6095b147c7935
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.9 Darwin/21.6.0
|
Release files / easyebay-0.1.1-py3-none-any.whl
| Download URL | easyebay-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef25f8a57eef522774fb490348d0f4209c9a4ea63d42501e585bfcbaa7729542
|
|
BLAKE2b-256 checksum How to use checksums |
b6fbdd9f2b0fb3b1b9ffee758d2d2dab0eb88d8aa6c5849a0804f8b5faf858b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.9 Darwin/21.6.0
|