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.5.1.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file pyvinted-0.5.1.tar.gz
.
File metadata
- Download URL: pyvinted-0.5.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c990a4a318b2ef3efe8a82cab6f7b077575a2028c22d5e4480f222c7f135c802 |
|
MD5 | 54e07012a66c8ce2919e54cf4c478b93 |
|
BLAKE2b-256 | 6bfe102bec47c43d57852317c26f66259ecb206a8402fc60c1db3bd1d056eda1 |
File details
Details for the file pyVinted-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: pyVinted-0.5.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c891495595cf19ede89b19eb254950642ff5792da3907b531d6e466519e91ef |
|
MD5 | 0fef42c337977015887f6ffc8d0435d1 |
|
BLAKE2b-256 | a95cb4296587b575b97ad68644a4139bbdb720652ffbba73abc3a5f1edf65b7f |