Search code examples
perlcategoriesebay-api

Perl eBay::API passing a listing title to get the category


I'm wondering if, using Perl's eBay::API, there is a way to pass the title of a potential listing and return a category recommendation?

For example, if I entered "Lapierre Zesty 914 2013" it would return something like "Sporting Goods > Cycling > Bikes" or perhaps a set of possibilities?

I started looking at http://search.cpan.org/~tkeefer/eBay-API-0.25/, but there are so many modules, I hoped someone could point me at the right one...

I'm searching eBay.co.uk. If eBay::API doens't do it, but something else does (in Perl), please do say.


Solution

  • Of course, two minutes after asking, I found it: GetSuggestedCategories does the trick.