Skip to main content

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&currency=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


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.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

pyVinted-0.3.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file pyVinted-0.3.2.tar.gz.

File metadata

  • Download URL: pyVinted-0.3.2.tar.gz
  • Upload date:
  • Size: 5.7 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

Hashes for pyVinted-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e3bf816af0f6489c10ccaabd3df803cac296772c79affbb0e58d4938d74b3746
MD5 611e5dd7bc86ba1af94a07abba7eb254
BLAKE2b-256 2f23b92053aa8088f07e49a1aa1fb637a1d243dcddef28ee4c016407e7a2cad4

See more details on using hashes here.

File details

Details for the file pyVinted-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pyVinted-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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

Hashes for pyVinted-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05bfc36890ad2a2cec96af17e46eee59534cfa6695cca05ee68938f966410a65
MD5 c8e0e3ba83f7ef974f546e73d00406ab
BLAKE2b-256 b718f2fc173ceceb82edf05ed5d1961d20f53be0517874eb42f6d25b1b03cfe0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page