You are here:  » ebay api


ebay api

Submitted by nole on Mon, 2019-02-04 14:06 in

Hi

I've been playing around with the ebay api to get more mysite related results, i tried finditemsadvanced but ebay categorizes items like most other places.
so i was wondering if there was a simple way to add extra keywords to the finditemsbykeyword service.

$url .= "&keywords=".urlencode($q); so what im trying to do is add static keywords before the $q

so like Keywords= MyWords Mywords + (&q)

i only need to add two words before the search to get spot on results.

any help be great thanks

Submitted by support on Mon, 2019-02-04 14:24

Hello nole and welcome to the forum!

Sure - as a replacement for the line you have identified, use something like:

  $url .= "&keywords=".urlencode("mywords mywords mywords"." ".$q);

Cheers,
David.
--
PriceTapestry.com

Submitted by nole on Wed, 2019-02-06 11:33

Works great

thank you