Skip to main content

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


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)

Uploaded Source

Built Distribution

VintedAPIClient-0.1.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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