question

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ asked ·

Need PHP script for GetSingleItem API

hi i need a php script with the ebay api. when i enter the ItemID it should give the product details (pics, price, ...) i have tried much, but no ones worked. i hope you can help thanks
PHPebay apigetsingleitem
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
helios825 avatar image
0 Likes"
helios825 answered ·
First, learn to build the API call you want in your browser. Endpoint, parameters, data, etc. Then, learn to make PHP calls to eBay's API. There may be a tutorial on that somewhere; look around. You'll want to use PHP's cURL library if possible, or file_get_contents() as a quick hack to get started. I have a cURL wrapper function you can use here: http://www.helios825.org/cURLfriend.php
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.