simple ebay php api

language - php 5.3

mysql 5

I need a script which will be run on a cronjob from the command, to retrieve a current list of all my ebay listings. I have some similar script for another function that should be copied.

Do not use the ebay php framework.

The function called should be GetMyeBaySelling.

You have to handle pagination since there will be more than 10,000 records returned.

Here is an example to follow:

$authToken = 'xx';

$url = '[login to view URL]';

$header = array(

'Accept: application/json',

'Authorization: TOKEN '.$authToken,

'Content-Type: application/json',



$ch = curl_init();

curl_setopt($ch, CURLOPT_VERBOSE, false);

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_HTTPHEADER, $header);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$response = curl_exec($ch);


echo "ERROR:".curl_error($ch);



$data = json_decode($response,true);

#retrieve total

$total = $data['total'];


while ($i < $total) {


#insert with INSERT IGNORE INTO table all available columns into mysql


There should be 2 tables in mysql called "listings_running" with approx 46 columns and another table called "listings_shippingserviceoptions" with approx 4 columns with the "ItemID" column to link them together, with the following columns logged. This is just a list of the fields returned from the api. These can be the mysql field names.

BestOfferCount int

BuyItNowPrice (double)

ClassifiedAdPayPerLeadFee (double)

CurrencyCodeType varchar

eBayNotes varchar

HideFromSearch boolean

ItemIDType varchar

LeadCount int

ConvertedBuyItNowPrice (double)

StartTime dateTime

ListingDuration varchar

ListingType varchar

NewLeadCount int

PictureDetails PictureDetailsType

PrivateNotes varchar

Quantity int

QuantityAvailable int

QuestionCount long

ReasonHideFromSearch varchar

ReservePrice (double)

PaymentProfileID long

PaymentProfileName string

ReturnProfileID long

ReturnProfileName varchar

ShippingProfileID long

ShippingProfileName varchar

BidCount int

BidderCount long

ConvertedCurrentPrice (double)

CurrentPrice (double)

FeedbackRatingStar varchar

FeedbackScore int

UserID varchar

promotion_EndTime dateTime

promotion_OriginalPrice (double)

promotion_StartTime dateTime

QuantitySold int

ReserveMet boolean

GlobalShipping boolean

SKUType varchar

StartPrice double

TimeLeft varchar

Title varchar

WatchCount long

*listings_shippingserviceoption_ID *auto increment on a new table called listings_shippingserviceoptions

*LocalPickup boolean

*ShippingServiceCost double

**skip the variation related data

Habilidades: PHP, MySQL, XML

Veja mais: simple youtube search api php, php dump mysql field names, simple php contact form required field, api ebay php add item xml, mysql field names php dropdown menu, simple twitter php api, simple filemanager php api, ebay php api, ebay php api orders, retrive orders ebay php api, simple ebay php api, ebay php api soap, update stock inventory ebay php api, simple search ebay php api mysql, ebay+php+api+integration

Acerca do Empregador:
( 27 comentários ) Kennesaw, United States

ID do Projeto: #26444527

Concedido a:


Hello, I have a lot of experince with eBay API especially using the GetMyeBaySelling function. I have done many similiar projects with eBay API and MySQL. Please note you can only get 200 items at a time so the script Mais

$250 USD em 3 dias
(194 Comentários)

20 freelancers estão ofertando em média $172 para esse trabalho

(430 Comentários)

we have gone through your requirements and ready to start. let me know when you would like us to [login to view URL] are ready to start immediately. Best Regards Techwelfare

$230 USD in 12 dias
(181 Comentários)

Hi, PHP and API integration are my main skills and I'm available immediately. I can get it done by the next few hours for sure. Contact me to discuss further. Thanks

$150 USD in 2 dias
(60 Comentários)

Hello, I'm a professional PHP developer with 6+ years of experience and can strongly assure to assist you well for the work as per your requirements. I have gone through your job details and assure you to accomplish Mais

$140 USD in 7 dias
(58 Comentários)

Hello, can we discuss more on this to get a detailed understanding of the project? As I am having some technical questions on this so let me know when you get time to discuss this and clear the doubts. I am a profess Mais

$250 USD in 7 dias
(46 Comentários)

Hello I have read your job description carefully. I am a web expert with 10 years of experience in PHP, MySQL, Javascript, HTML, CSS. Also, I have rich experience in these fields. So I am interested in and I am confid Mais

$200 USD in 3 dias
(13 Comentários)

Hello, i can start work on it immediately. i'm very much confident to reach your expectation and give you 100% satisfaction and quality work. hope you will give me this opportunity to serve you best Thanks & regards

$140 USD in 7 dias
(11 Comentários)

Hi, there! I've read all of your requirements carefully, and much concerned about it. As a programmer looking for a job, I think I can help you. When you reach me I'll be very happy. Please contact me over chat so Mais

$140 USD in 7 dias
(20 Comentários)
(13 Comentários)

Hello sir, I can create a php script to get products information form ebay by curl request and save response xml data in database according to your requirement. please text me so we can discuss more about task. th Mais

$200 USD in 7 dias
(29 Comentários)

Hi there, Thank you for this wonderful opportunity. I am Lesia. I have reviewed your project requirements very carefully. I am an experienced web developer. Over the last 6 years, I have developed & designed a wide ran Mais

$140 USD in 2 dias
(7 Comentários)

Hi. I have written many automation API projects. Ready to write your project. Will complete within 4 days

$220 USD in 4 dias
(12 Comentários)

Hi, Manager! Here is a talented web developer. I have many experiences in developing a website. I have experience in using Ebay api by django. I have experience in using Node.js, Zend, MySQL. If you hire me, you will Mais

$140 USD in 2 dias
(9 Comentários)

Hello! Although your table column are too many, it is simple for me To complete this task: 1 th) connect to mysql after successfull authentication(with user and pass) 2 th) Validation of api data 3 th) insert api data Mais

$140 USD in 7 dias
(7 Comentários)

Hi there, am using native PHP for almost 5 years and familiar with integrated with other 3party API, and I want to discuss more over chat if possible. I will wait for your response.

$140 USD in 7 dias
(12 Comentários)

hello my name is rino and i been a developer for 3 years handling the likes of nodejs, python, c#, php, and react native you can check my resume right here [login to view URL] if you see it fit your needs please Mais

$250 USD in 10 dias
(10 Comentários)

Hi, I have good exposure in PHP and Mysql. I have 10+ experience in web and software development.

$90 USD in 7 dias
(6 Comentários)

Hello, I can program a script which will be running on a cronjob from the command, to retrieve a current list of all your ebay listings. I will do this work in very less time and perfectly. Can we quickly discuss ove Mais

$120 USD em 1 dia
(2 Comentários)

Respected Sir, See following applications for my work reference (api integration): Ebay Tracking Tool: [login to view URL] [login to view URL] [login to view URL] htt Mais

$200 USD in 4 dias
(0 Comentários)