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.9.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file pyVinted-0.4.9.tar.gz
.
File metadata
- Download URL: pyVinted-0.4.9.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6cde3ba9afe6464ffd7e2fcbe7e8285cdd242263278c7574ff7b4b3e997c3b2 |
|
MD5 | 0efa7070c0915a97ffeaefe9c1962584 |
|
BLAKE2b-256 | a34129c640ade34552050c7d4e59794077ac0ac7743ce1c88cf78c9cebf642c2 |
File details
Details for the file pyVinted-0.4.9-py3-none-any.whl
.
File metadata
- Download URL: pyVinted-0.4.9-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.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5c23634ad5b10cf5461579cef26e8223058542a8a907c2afc8b5f1cb3e7a84 |
|
MD5 | bde62a1332753dfe15947a21e0b67a5f |
|
BLAKE2b-256 | cc15b1e558022657743011782c903b6cc50e0cdbfa525d99890635cce1ae845c |