If your Python application needs resale prices, active eBay listings are the wrong input. You need

completed sales: what buyers actually paid, when the item sold, its condition, and enough evidence to

calculate a useful range.

Here is the smallest working request with CompSniper:

import os