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.3.1.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file pyVinted-0.3.1.tar.gz
.
File metadata
- Download URL: pyVinted-0.3.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- 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 | 63bbc02f97ba001640d4f61da25941bb7816b29ac834acab6b142d64b1d04ee3 |
|
MD5 | b0bd6f38a01ea800dc840b3e0cc6e2f6 |
|
BLAKE2b-256 | 1e2724889949d152f034da862cdc828a15196124bebba0e0d791a2b9ee823bdb |
File details
Details for the file pyVinted-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: pyVinted-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.2 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 | 9132de3c7cd39a5a726b99c97d2c711e23ffb9b5fa93e7a763733aadc47d44a5 |
|
MD5 | de2feafcf1c5aab48e4145e8f5d7104b |
|
BLAKE2b-256 | bcf8f5897b1c2f15ec7eb94c4225f4bfbb893cb080b73fbff06e0608253d0ab5 |