Hello! This program uses Wallapop API for finding products that can be resold for a profit.
- Get the first page of products in the "Technology and electronics" category (this can be changed with
category_id) - Get the keywords of each of the products found in the last step using Gemini 2.0 flash.
- Search each of the keywords of each product on Wallapop.
- Filters products to avoid outliers.
- Get the cheapest products (the products on the first quarter of the pricing distribution of the products of the last step).
- Makes a valoration of each of the products using the LLM by the photos, title and description.
- Stores this info in an Excel under the folder
/outlike this:
- Create a file called
.envlike this:
LLM_API_KEY = 'YOUR-GEMINI-API-KEY'
- Install
requirements.txt
pip install -r requirements.txt- Run
python main.py