Answered by:
how to call ebay FIndAPI in vb.net?

Question
-
I have been trying to call the ebay finding api but have had no success so far. It displays nothing in the output pane when I run the code:
Dim apiContext As ApiContext = GetApiContext() 'Instantiate the API call-specific call wrapper class Dim apiCall2 As GetItemCall = New GetItemCall(apiContext) Dim b As PaginationInput = New PaginationInput b.entriesPerPage = 4 'b.pageNumber = 1 Dim finditemrequest As FindItemsByKeywordsRequest = New FindItemsByKeywordsRequest Dim finditemresponse As FindCompletedItemsResponse = New FindCompletedItemsResponse Dim what As SearchResult finditemrequest.keywords = "tin" finditemrequest.paginationInput = b what = finditemresponse.searchResult 'what.item(0).itemId 'what.item(0).productId 'Dim endprice As AmountType ' endprice = itemtype.BiddingDetails.MaxBid Console.WriteLine("eBay item price: " + what.item(0).listingInfo.buyItNowPrice.ToString)
I want to find the buyitnow price or highest bid of an auction that has ended of a tin can on ebay for my sample usage first before I do anything else. If some knows how to do highest price though I can start from their.
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr
- Moved by Carl Cai Monday, January 6, 2014 2:21 AM not support (third-party)
Friday, January 3, 2014 7:50 PM
Answers
-
It seems you are now using a kind of JavaScript reference in VB (just when I look at your code)
Did you download the Net SDK from Ebay?
https://go.developer.ebay.com/developers/ebay/documentation-tools/sdks/dotnet
In Net we don't talk about API's (some marketing guys do), but about objects and classes.
Success
CorWednesday, January 8, 2014 9:27 AM -
Specifically, eBay has a developers forum:
http://developer.ebay.com/forums/
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog:http://unlockpowershell.wordpress.com
My Book:Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})Tuesday, January 7, 2014 4:40 PM
All replies
-
Hi,
Welcome to MSDN.
It seems that this is not the proper forum for this issue, since it is related to third-party.
I suggest you post this issue in the developer forum of the publisher for dedicated support.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Edited by Carl Cai Monday, January 6, 2014 2:20 AM
Monday, January 6, 2014 2:20 AM -
Specifically, eBay has a developers forum:
http://developer.ebay.com/forums/
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog:http://unlockpowershell.wordpress.com
My Book:Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})Tuesday, January 7, 2014 4:40 PM -
It seems you are now using a kind of JavaScript reference in VB (just when I look at your code)
Did you download the Net SDK from Ebay?
https://go.developer.ebay.com/developers/ebay/documentation-tools/sdks/dotnet
In Net we don't talk about API's (some marketing guys do), but about objects and classes.
Success
CorWednesday, January 8, 2014 9:27 AM