Is there a way to sort on bid count?
Closed this issue · 3 comments
pythoncreate commented
Is there a way to sort on bid count?
pajaydev commented
You can use something like this on finding Api.
const ebayApi = require('ebay-node-api');
const ebay = new ebayApi({
clientID: '---client id----'
});
ebay.findCompletedItems({
keywords: 'Garmin nuvi 1300 Automotive GPS Receiver',
categoryId: '156955',
sortOrder: 'BidCountFewest', or 'BidCountMost' .
Condition: 3000,
ListingType: 'Auction',
SoldItemsOnly: true,
entriesPerPage: 2
}).then((data) => {
console.log(data);
}, (error) => {
console.log(error);
});
pythoncreate commented
ok thank you! so i guess this doesn't output the number of bids, right? since that data looks like it is in findItemsAdvanced
pythoncreate commented
sorry, my mistake, i can see the bidCount in the response. thanks!