Python client for scraping Vinted website
Project description
VintedAPIClient
Installation
You can install the package using pip:
pip install VintedAPIClient
Usage
from VintedAPIClient.VintedAPI import VintedAPI
# Initialize the API client
api = VintedAPI()
# Retrieve a list of items based on a search query
# query: String containing the search keywords
# page: Integer indicating the page number to retrieve (approximately 100 items per page)
items = api.get_list_items("query", page)
# Download images for a specific item
# url: Vinted URL corresponding to an item
# destination_folder: Folder path where the images should be saved
# Images will be saved sequentially as "imgNUMBER.jpg"
api.download_images_by_url(url, destination_folder)
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
VintedAPIClient-0.1.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for VintedAPIClient-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2db3a32673cef45035f1bbeb05539613968d7fcf4a003825d98e315293f230a |
|
MD5 | 744c366ec47b997570f806786c081c71 |
|
BLAKE2b-256 | 77fc18aa5f37032228e7016031a500d822a1a26b5d5dbf17cb9decb8251da471 |