deleted some more useless comments
This commit is contained in:
parent
ed4b39b386
commit
643e475dec
@ -26,13 +26,7 @@ for categoryID in cat_list:
|
||||
response = requests.get("https://svcs.ebay.com/services/search/FindingService/v1", params=params) #
|
||||
data = response.json()
|
||||
pretty_data = json.dumps(data, indent=2)
|
||||
|
||||
# ebay has not patched their aspectHistogram bug so it's not getting returned. Additionally, the findItemsByCategory service call doesn't support detail levels which means it can't return item specifics. So, you will have to conduct a finding api call with the category IDs and then pipe the resulting itemIDs into the finding api to get the item specifics n whatnot. FRom this info you can get your labels
|
||||
|
||||
# The main trick to getting labeled data is going to be smoothly going from findItemsByCategory ---> pandas df or csv file with the addresses to the images being stored on local hard drive. During this operation you will have to either download the images to the local drive first and then have that location be the csv input data OR you will have to do that second by using the url to the image as input and then converting that to a local address.
|
||||
|
||||
# First pipe item IDs from findItemsByCategory service into either GetSingleItem or GetMultipleItems service from shopping api call inorder to get min number of required data such as item specifics and picture urls.
|
||||
|
||||
# can use pandas.json_normalize(custom dict cobbled from respons.json())
|
||||
|
||||
|
||||
# Additional problem you will run into when getting labeled data is shoe types and features not in features, accents, styles, categories or subcategories.
|
||||
|
Loading…
Reference in New Issue
Block a user