Vinted API 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
pyvinted-0.4.10.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file pyvinted-0.4.10.tar.gz
.
File metadata
- Download URL: pyvinted-0.4.10.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d000d836a4b23b1eac415a0b50c2a80f2262fd0d899b1b0eab7dab9d1f7d365 |
|
MD5 | c31ee10f11e4929874f1a0800b75405d |
|
BLAKE2b-256 | 1dd9862d3d1786a6f47de231f069c1db3ace5401515afc6d036b821fc10959ec |
File details
Details for the file pyVinted-0.4.10-py3-none-any.whl
.
File metadata
- Download URL: pyVinted-0.4.10-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6def99afa4acc64e3ad3ddfb3e1434362b59231147f5ac8aa7e1846018b2fe7d |
|
MD5 | 56bc0b51ec23a65e7bad882066aa57a3 |
|
BLAKE2b-256 | cb647c4770616c3e87cfc0f290dd989da82965f0234c7f05ebdd1d4775ff7c31 |