Home - jasonknight/gobay GitHub Wiki
The eBay Trading API is a daunting monolith that has been in production for as long as I can remember. It's the first API I was ever forced to work with. I have built eBay trading SDKs every few years, first in PHP, then in Ruby, then in PHP again, and now I am trying to make one in Golang - because I would like to switch to using Go fulltime.
While the SDK is still in its pre-alpha state there will be a little chaos, perhaps because I am a bad programmer, or perhaps because I am pressed for time. I have to get this done, and quickly, so that I can finish testing and deploy it to production. I.E. I intend to eat my own dog food.
The SDK is meant to have as few dependencies as possible, it is a library, you include it in your program and use its features.
What it will be able to do:
- Make the core requests (
AddItems
,EndItems
,GetMyeBaySelling
(With support for all the sublists),GeteBayDetails
,GetCategories
) - I will try to have a slim and fluid SDK API, that is you shouldn't really have to worry too much about custom types. All custom types will have a fluid create function that will allow you to access struct members without having to futz.
- Renaming will be kept to a minimum so that knowledge of the SDK elsewhere will apply here (which sucks because there are some long names like
ItemSortTypeCodeType
(I know, right?). - I will try to incorporate a lot of error checking for inputs (Validators), with information on what you're doing wrong, or if you're missing a required field.
- I have plans to incorporate the Bulk Uploading Facility, so in the end, you may be able to write Requests to a large XML file and then upload it and get some JobId/reference back. This is in the cards because the first user of this SDK has 130,000 Items on eBay (hence the rewrite, other languages are just too slow in a web context).