Skip to main content

This is a description

Project description

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

GNU General Public License v3.0

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

leboncoin-0.3.5.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

leboncoin-0.3.5-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file leboncoin-0.3.5.tar.gz.

File metadata

  • Download URL: leboncoin-0.3.5.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for leboncoin-0.3.5.tar.gz
Algorithm Hash digest
SHA256 be918eb3eef20fd49d01017c651366ab6b0fe5fe2535bde2a344266613e71c47
MD5 07c6d0de4bd79c49bd1cfc646bd5348a
BLAKE2b-256 004e5ce0c79dd89c9eb1ea73f9faa0cfbb1405b488c8ff45dce437387f3e4f16

See more details on using hashes here.

File details

Details for the file leboncoin-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: leboncoin-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for leboncoin-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 916b13e275270068d56e19a8d2f82cde9dce46f8996cb05d1b718e7e010ede06
MD5 aa4ff63d0280d7e6ab3034ded796f474
BLAKE2b-256 8237d3711dd5931489f9f53757a01cf02f7309f74e5c30dc420311f8b3cc41f6

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