Skip to content

Automate your ebay experience, upload sneakers instantly at the optimal market price using only the sku and size!

Notifications You must be signed in to change notification settings

chennaultsvcs/ebay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ebay

Latest Changes!

  • Support for "Floor Price" added: If your spreadsheet includes a "Floor Price:" column, you can now set a minimum price by sku/size for listings!
  • Fixed critical bugs
  • Code is out of beta! Repository is now publicly available to be shared with friends / family / random strangers on the internet :)

Quick Notes

  • Before you Run the file, be sure to scroll all the way down in ebay.py and edit the description section of the ebay request payload. The one in the script is the one I use for my listings. Feel free to steal it, just change the store name to your own :).
  • Feel free to open pull requests, Ill check them and approve if I like what I see!
  • If the item you want to list fails to list, copy the server response and send to me. I will fix it at my earliest convenience.

Google API keys

  • Firstly, create a spreadsheet. I called my spreadsheet Inventory, but you may call it whatever you want to. In this spreadsheet, name your first workbook whatever you want to. I called mine Inventory. Follow the format I used with the SKU in the 1st column, and the size in the second column. The third column must be present, however, you can put whatever field you want here. Having this column allows you to verify your inputs before the bot attempts to list them. Once satisfied with your sku + size inputs, type anything into the third column. In the fourth column, you will put a "Listed-Status". Do not touch this column. The bot uses this column to keep track of what has and has not been added. Below I have attached an image of what I did. Follow precisely for best results.
  • Next go to the following url: https://console.cloud.google.com/apis/credentials. Enable access to the sheets API here if that is not already enabled. This link provides some more information on how to do that: https://developers.google.com/workspace/guides/create-project. Follow precisely.
  • Once Api Access is enabled for google sheets, create a service account with Editing permissions. That can be done under this drop down. Make sure to download the service account info as JSON after the creation process is completed. Rename the file "client_secret.json" and put that in the same directory as the other files. You have now completed the google stage of setup.

Screen Shot 2021-04-26 at 10 16 20 PM

Ebay API keys

  • Firstly, create an account at https://developer.ebay.com/ using your ebay.com username / password of your choosing.
  • Once your developer account is approved (24-48 hrs), go to https://developer.ebay.com/my/keys and create a production keyset. In this keyset you will find your AppID, CertID, and DevID.
  • Next go to https://developer.ebay.com/my/auth?env=production&index=0, and retrieve an Auth'n'Auth key upon logging into your ebay account. This key serves as your AuthID.
  • Lastly go to https://www.bizpolicy.ebay.com/businesspolicy/manage. On this page, you should see the main business policies you use for payment, shipping, and returns. Firstly copy the policy names into the ebay-config.json file. Next for each of the three policies you should see a button that says "EDIT" in blue. Click this, and copy the number that comes after profileId in the URL. For each of the three policies, you need to retrieve the policy ID and copy this into the Config file.
  • With these keys, fill in ebay-config.json.

Spreadsheet format

  • In the ebay-config.json file you need to specify the spreadsheetID and the range. For spreadsheet ID, go to the google sheets url and copy everything between the '/d/' and the '/edit'. For range use {workbookName}!A2:D1000. For example, because my workbook is named "inventory". My range is inventory!A2:D1000. Once these details are added to the config, you are ready to go.
  • PLEASE FOLLOW THIS FORMAT PRECISELY FOR BEST RESULTS!!!

Screen Shot 2021-05-03 at 11 54 26 PM

About

Automate your ebay experience, upload sneakers instantly at the optimal market price using only the sku and size!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages