PHP Development Eaby API start
1. https://developer.ebay.com/Application Developer Account
Figure 1
It's a fucking ebay!!!.
2. Set the application environment. With a developer account, you'll automatically have two applications in production and sandbox. Obviously, the sandbox environment is used for testing, production is a formal environment. Each environment has devid,appid,certid, usually we just need to AppID (after the specific use of the introduction). Below is a sandbox for example: Click Configure Settings on the right side of the application environment? link to the App Settings page, click the user tokens link binding a sandbox ebay users, the page is clear, just follow the prompts to operate on it, The following is the user information that my sandbox environment binds to:
Figure 2
Remember this user Token, which will be used later. The production environment is also tied to a formal ebay account.
3. Start from Quick Start Guide.
Figure 3
Refer to the link in Figure 3 into the Quick Start Guide.
Figure 4
Click on the link in Figure 4 to "PHP, Perl, and Python Developer Center" page,
Figure 5
First click on the API by Feature link page description, it will tell you a variety of APIs, which you should use. These APIs are cross-contained. The most comprehensive is the tradding API, is also the most commonly used. Then take a look at the following API documentation for specific use. This is a real damn egg!!
Now, we only learn Tradding API, go to Trading API Link page
Figure 6
Look at the bottom of Figure 6, there is a "PHP Accelerator Toolkit easy access to Trading APIs for PHP developers"
After entering, can download the PHP SDK, if you click on the developer.ebay.com menu ebay SDK, actually only Java,. NET version download, alas, PHP SDK is not biological ah? Hiding such a deep place. Of course, if you do not have this so-called PHP Accelerator Tookit, there is no big deal, their own package, EBAY API anti-SOAP is based.
Download PHP Accelerator tookit Place can also download a few tattered examples, a tattered tookit Quick start and Programmers Guide PDF document (at least the only PHP language-related documents), make it look.
No surprises, you can quickly run the code in samples, and then you start the full API tour. Note: Only support php5.3, if you are running php5.4 will have PHP refrence error, according to PHP notice/php fatal one-by-two (this blog other articles are described)
4. Go to the full API learning journey. I can only continue to be reviled: ebay's documentation is very messy, really not a family write! Look at the previous Figure 6 page red Circle link, click to see the specific API doc, in fact, these API documents at all regardless of language, basically is the explicit description of SOAP XML, and many links through the east point of the basic can be entered into such a page
Trading API Guide
Look slowly, students, this document is not attractive, even a bit hateful!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service