question

scivizguy avatar image
0 Likes"
scivizguy asked ·

These are NOT bugs but rather omissions or incorrect documentation segments

I provide my observations to hopefully help other users of the python ebaysdk and Finding API version 1.13.0.


Note: All of observations are limited to using the categoryId = 260 which is Stamps in the request dictionary. Other categoryId may give different behavior.


---- #1 -----------

response.reply.searchResult.item[item_count].listingInfo.watchCount


is an available field but is not documented on line at


https://developer.ebay.com/Devzone/finding/CallRef/findItemsByCategory.html#Response.searchResult.item.listingInfo


----------- #2 ------------------


The Finding API documentation at

https://developer.ebay.com/Devzone/finding/CallRef/findItemsByCategory.html#Response.searchResult.item.secondaryCategory.categoryName


states that the


response.reply.searchResult.item[item_count].secondaryCategory.categoryName


will be string[30] but the following is a string parsed:

World: Errors, Freaks, Oddities


which is length = 31 and triggers an error:

Python exception:

DataError: Data too long for column 'secondary_name' at row 1

when I tried to save it to a MySQL database column using the cursor.execute() mysql.connector function. Beware of this when allocating space to your database. I changed mine to varchar(64) which is hopefully wide enough.


------ #3 -----------


https://developer.ebay.com/Devzone/finding/CallRef/types/ItemFilterType.html


itemFilter ListingType doc says StoreInventory is omitted but it looks like the real default is ALL. Also, related is that using the FixedPrice field also gets Storeinventory items.



finding apicategoryiddocumentationwatchcountlistingtype
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.