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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pyVinted-0.4.5-py3-none-any.whl
.
File metadata
- Download URL: pyVinted-0.4.5-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.7.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a66ee82f31d7db79c96c8c134c38bf114bd849c53f9eb6069fb2e43c108691d |
|
MD5 | 65c1652af08aaa18d3a6ed8f99593b23 |
|
BLAKE2b-256 | 2b416f5d7199622ffb3d19129db7d70fdcd0841af13a6986bfdc035468e86dea |