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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
444773a6cac4ed7c39c218f949d4ffa160afcab28ebd3bd111a5ea0c388077d5
|
|
| MD5 |
a06c307d76d9c7a98179a51f104a39ae
|
|
| BLAKE2b-256 |
daaf99ac7c172b331695b7e5678126e38a9b1786a93c234e5715e15703c450f3
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d3ecf7308393e2ac7d43aacf7c093414a6181a47aa497037bbb532291961a58
|
|
| MD5 |
bc49204cfdb53116f26b28c7dc8d1912
|
|
| BLAKE2b-256 |
2a2a8766a4bb4455fd93dcbccbf78d496a64995af6d9b67527f8a75ef9f920bb
|