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.8.3.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file pyVinted-0.4.8.3.tar.gz
.
File metadata
- Download URL: pyVinted-0.4.8.3.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a214cf3ab66b5692b74d30217ac04b008c9769c5ff768fbac7dbfc9436ce68ba |
|
MD5 | 21289beffebb04df542046fdd585b920 |
|
BLAKE2b-256 | cd68e67814920000600b3425c86a9c8ac2e712c82f1ade47dbe8ff1669b3d176 |
File details
Details for the file pyVinted-0.4.8.3-py3-none-any.whl
.
File metadata
- Download URL: pyVinted-0.4.8.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34217f9c5aa801d10e4f3525d9cfe1c2178b8283f12a74be926868fbbb440c7a |
|
MD5 | 2b1cbc9b970560cde05a0f75881343eb |
|
BLAKE2b-256 | db57d980dd787b2a8f1e55f5a8a3d838143df5958dda30ac53107f0d1fc8c680 |