Skip to main content

Unofficial client for Vinted API

Project description

vntd

Unofficial client for the Vinted API. Fork of lbc by etienne-hd

import vntd

client = vntd.Client()

result = client.search(
    text="robe",
    page=1,
    limit=20,
    sort=vntd.Sort.NEWEST,
    price=(5, 30),
)

for ad in result.ads:
    print(ad.url, ad.title, ad.price, ad.user)

vntd is not affiliated with, endorsed by, or in any way associated with Vinted or its services. Use at your own risk.

Installation

Required Python 3.10+

pip install vntd

Usage

Client

import vntd

client = vntd.Client()

Search

result = client.search(
    text="robe",
    page=1,
    limit=24,
    sort=vntd.Sort.RELEVANCE,
    price=(10, 40),
    brand_ids=[53, 54],
)

Search with URL

result = client.search(
    url="https://www.vinted.fr/catalog?search_text=robe&order=newest_first&price_from=5&price_to=30",
    page=1,
    limit=24,
)

Get Item

ad = client.get_ad("8975084387")
print(ad.title, ad.price, ad.user)

Get User

user = client.get_user(80325437)
print(user.login, user.feedback_score, user.item_count)

Proxy

proxy = vntd.Proxy(host="127.0.0.1", port=12345)
client = vntd.Client(proxy=proxy)

Notes

Vinted does not expose Leboncoin-style radius/region filters or professional store data (SIRET). Use Vinted-native filters such as price, brand_ids, and seller_type instead.

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

vntd-1.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vntd-1.1.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file vntd-1.1.0.tar.gz.

File metadata

  • Download URL: vntd-1.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for vntd-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c6d69d88a2fdf84c5c6123419b607064e2adb5283adff66784509721777121d0
MD5 8ee01ad1d70c609b953e8b0ece2415c5
BLAKE2b-256 312ea3853a06e7874aea570c0445f223aef184f15fd8ed04155c7e02aa730d26

See more details on using hashes here.

File details

Details for the file vntd-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: vntd-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for vntd-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88a3bc143d16a0753f75a6a3c825e91632ef693e148ed55693daf0c3d4afc3c8
MD5 0111043c74970397b68fbbf2b8d189cd
BLAKE2b-256 7842e9b013bf12eae459d208b6d63330d02667e8f78b0c1a9a0a64c41ac40de2

See more details on using hashes here.

Supported by

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