Leboncoin
Access Leboncoin api in Python
Installation
pip install leboncoin
Usage
from leboncoin import Leboncoin
lbc = Leboncoin()
lbc.searchFor("iphone")
lbc.setLimit(10)
lbc.maxPrice(2000)
lbc.setDepartement("tarn")
results = lbc.execute()
for ad in results["ads"]:
print(ad["subject"], ad["price"])
print("\n")
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for leboncoin 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| leboncoin-0.3.5.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| leboncoin-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.5 kB
Release files / leboncoin-0.3.5.tar.gz
| Download URL | leboncoin-0.3.5.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be918eb3eef20fd49d01017c651366ab6b0fe5fe2535bde2a344266613e71c47
|
|
BLAKE2b-256 checksum How to use checksums |
004e5ce0c79dd89c9eb1ea73f9faa0cfbb1405b488c8ff45dce437387f3e4f16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.3
|
Release files / leboncoin-0.3.5-py3-none-any.whl
| Download URL | leboncoin-0.3.5-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
916b13e275270068d56e19a8d2f82cde9dce46f8996cb05d1b718e7e010ede06
|
|
BLAKE2b-256 checksum How to use checksums |
8237d3711dd5931489f9f53757a01cf02f7309f74e5c30dc420311f8b3cc41f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.3
|