Start EabyAPI development in PHP

Source: Internet
Author: User
PHP EabyAPI development start 1. https://developer.ebay.com/the application developer account is really an easy-to-use eBay !!! 2. & nbsp; set the application environment. after you have a developer account, you will automatically have two application environments: production and sandbox. Obviously, the sandbox environment is used for testing, and the Eaby API development in product PHP starts.
1. https://developer.ebay.com/apply for developer account


This is a fucking ebay !!!

2. set the application environment.
With the developer account, you will automatically have two application environments: production and sandbox. Obviously, the sandbox environment is used for testing, and the production environment is the formal environment. Each environment has DEVID, AppID, and CertID. generally, we only need AppID (which will be introduced later ). The following uses sandbox as an example: click Configure Settings on the right of the application environment? Go to the application settings page and click the User Tokens link to bind a sandbox ebay User. the page is clear, as long as you follow the prompts. below is the User information bound to my sandbox environment:

Remember this User Token, which will be used later. As you can do, bind the production environment to a formal ebay account.

3. Start with Quick Start Guide.


Go to Quick Start Guide.


Click the link to go to the "PHP, Perl, and Python Developer Center" page,


First, click the description on the API by feature link page. it will tell you which API you should use. These APIs are crossover and include. The most comprehensive is the Tradding API, which is also the most commonly used. Then go to the specific API documentation below. This really hurts TMD !!

Now, we only learn about Tradding API and go to the Trading API link page.


There is a "PHP Accelerator Toolkit Easy access to Trading APIs for PHP developers" in the lower part of the page"
After entering, you can download the php sdk. if you click the ebay sdk in the shopping .ebay.com menu, only Java and. net versions can be downloaded? Hide such a deep place. Of course, without the so-called PHP Accelerator Tookit, it's no big deal. you can encapsulate it yourself. EBAY APIs are SOAP-based.
Download PHP Accelerator Tookit and download several broken examples, a broken Tookit Quick Start and Programmers Guide PDF documents (at least the only documents related to the PHP language.

Not surprisingly, you can quickly run the code in samples, and then start your journey to all APIs. Note: only php5.3 is supported. if you are running php5.4, php refrence errors may occur. correct them one by one based on Php notice/php fatal (other articles in this blog are described)

4. start a comprehensive API learning journey.
I can only keep alignment: ebay's documents are messy, but they are not written by a family! Check the links that are not circled in red on the previous page. Click here to view the specific api doc. In fact, these API documentation is basically a straightforward description of soap xml, regardless of language, many links can access such a page through the West Point.
Trading API Guide
Take a look, students. This document is not a favorite or even a bit hateful!

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.