Closed pythoncreate closed 4 years ago
@pythoncreate Let me check
@pythoncreate you can use something like this
ebay.getAccessToken()
.then((data) => {
ebay.searchItems({
keyword: 'phone',
categoryId: 220
}).then((data) => {
console.log(data);
// Data is in format of JSON
// To check the format of Data, Go to this url (https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#w4-w1-w4-SearchforItemsbyKeyword-0)
})
});
@pythoncreate Closing this issue. Kindly create new one if the solution not working.
can we get this to work with "findItemsByKeywords" method as well?
Sorry if this is a dumb question, but I'm having a hard time figuring out how to query the API on both keyword and category ID. I see that ability in find advanced in ebay api, but i don't see that ability here. Am I wrong? Thanks