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.0.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.0.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vntd-1.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 444773a6cac4ed7c39c218f949d4ffa160afcab28ebd3bd111a5ea0c388077d5
MD5 a06c307d76d9c7a98179a51f104a39ae
BLAKE2b-256 daaf99ac7c172b331695b7e5678126e38a9b1786a93c234e5715e15703c450f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vntd-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d3ecf7308393e2ac7d43aacf7c093414a6181a47aa497037bbb532291961a58
MD5 bc49204cfdb53116f26b28c7dc8d1912
BLAKE2b-256 2a2a8766a4bb4455fd93dcbccbf78d496a64995af6d9b67527f8a75ef9f920bb

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