An open API service indexing awesome lists of open source software.

https://github.com/herissondev/vinted-api-wrapper

This is a simple python module to interact with the vinted api with ease.
https://github.com/herissondev/vinted-api-wrapper

python vinted

Last synced: 7 months ago
JSON representation

This is a simple python module to interact with the vinted api with ease.

Awesome Lists containing this project

README

          

# 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

```py
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&currency=EUR",10,1)
#returns a list of objects: item

```
You can access Item attributes as shown here:
```py
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
```