diff --git a/ebay_api_test.py b/ebay_api_test.py index 6e2e7df..7747fb0 100644 --- a/ebay_api_test.py +++ b/ebay_api_test.py @@ -1,16 +1,18 @@ import requests import json from bs4 import BeautifulSoup as b +import pandas as p +# keywords = input('keyword search: ') with open('cat_list.txt') as jf: cat_list = json.load(jf) -finding_service = ['findItemsByCategory', 'getHistograms'] -departments = ["3034","93427"] -# keywords = input('keyword search: ') +finding_service = ['findItemsAdvanced', 'findCompletedItems', 'findItemsByKeywords', 'findItemsIneBayStores', 'findItemsByCategory', 'findItemsByProduct'] # list(set(re.findall(r'find\w+', response.text))) +# departments = ["3034","93427"] + for categoryID in cat_list: params = { - "OPERATION-NAME":finding_service[0], + "OPERATION-NAME":finding_service[4], "SECURITY-APPNAME":"scottbea-xlister-PRD-6796e0ff6-14862949", "SERVICE-VERSION":"1.13.0", "RESPONSE-DATA-FORMAT":"JSON",