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("fr")
# 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.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file pyVinted-0.4.8.tar.gz
.
File metadata
- Download URL: pyVinted-0.4.8.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 | 6da52c799ea3bfd8a45ed16e15c12f04bd918844b0dee077fe5f7694d1bb15dc |
|
MD5 | 322bac43ccaf30251301e111fc363fb2 |
|
BLAKE2b-256 | 177269794e8e29464ce818379fa5fdb2c2baf20d531f42400d9dca2a80e0c7c8 |
File details
Details for the file pyVinted-0.4.8-py3-none-any.whl
.
File metadata
- Download URL: pyVinted-0.4.8-py3-none-any.whl
- Upload date:
- Size: 6.1 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 | ecde50a800d63dc7c15473c9c79aff8c43cbe9e1a0b8e4a0eb97572fed9d2a09 |
|
MD5 | 6701c76ee82b5ff70fdb33969e78a586 |
|
BLAKE2b-256 | efa46161fdc85c00758523a7df323287f95f2a7b0c59757a69c571c63e44cae8 |