LaCentrale wrapper for python
Project description
Vinted-Api-Wrapper
Simple python package that uses the Vinted API to search new posts.
Install
Simpely install package using pip :
pip install pyVinted
Example
from pyVinted import Vinted
vinted = Vinted()
# search(url, number_of_items, page_number)
items = vinted.items.search("https://www.vinted.fr/vetement?order=newest_first&price_to=60¤cy=EUR",10,1)
#returns a list of objects: item
You can access Item attributes as shown here:
item1 = items[0]
#title
item1.title
#id
item1.id
#photo url
item1.photo
#brand
item1.brand_title
#price
item1.price
#url
item1.url
#currency
item1.currency
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyLaCentrale-1.0.0.tar.gz
(2.7 kB
view details)
File details
Details for the file pyLaCentrale-1.0.0.tar.gz
.
File metadata
- Download URL: pyLaCentrale-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25ca22c5a767bff21df7c598188ca8ec6452f2cb04381d91ae5269431c6115fe |
|
MD5 | a0eb156561a2c52f56d337bfa450a821 |
|
BLAKE2b-256 | 5b0c1395868e40d42fef48c16cd4f7432f1320a764d20c184102e882aa86022e |