Skip to main content

用于 python 的 Vinted API 包装器

项目描述

Vinted-Api-Wrapper

使用 Vinted API 搜索新帖子的简单 python 包。

安装

使用 pip 简单地安装包:

pip install pyVinted

例子

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

您可以访问项目属性,如下所示:

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

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

pyVinted-0.4.9.tar.gz (5.4 kB 查看哈希

已上传 source

内置分布

pyVinted-0.4.9-py3-none-any.whl (6.2 kB 查看哈希

已上传 py3