Giter VIP home page Giter VIP logo

ebay-api-sdk-php's Introduction

EBAY-API-SDK-PHP

This project is based on Ebay SDK written by David T. Sadler to make up for the lack of an official SDK for PHP. (It is in no way endorsed, sponsored or maintained by eBay).

After original repository was archived, and no longer supported, I've created this repository from copy of Ebay SDK. To keep improving and maintaining SDK for eBay API.

This project enables PHP developers to use the eBay API in their PHP code, and build software using services such as Finding, Trading, Shopping, etc. You can get started by installing the SDK via Composer and by following the Basic Usage Guide.

This is a personal project that has been maintained by me, Bohdan B., to make work for PHP developer with eBay API more efficient.

Features

Resources

  • User Guides - Getting started guide and in-depth information.
  • Examples - Several examples of using the SDK.
  • @bosston812 - Follow on Twitter for announcements of releases, important changes and so on.

Requirements

  • PHP 5.5 or greater with the following extensions:
    • cURL
    • libxml
  • 64 bit version of PHP recommended as there are some issues when using the SDK with 32 bit.
  • SSL enabled on the cURL extension so that https requests can be made.

Installation

  1. Install Composer.

    curl -sS https://getcomposer.org/installer | php
    
  2. Install the SDK.

    php composer.phar require bosston812/ebay-api-sdk-php
    
  3. Require Composer's autoloader by adding the following line to your code.

    require 'vendor/autoload.php';

Example

Get the official eBay time

<?php

require 'vendor/autoload.php';

use \DTS\eBaySDK\Shopping\Services;
use \DTS\eBaySDK\Shopping\Types;

// Create the service object.
$service = new Services\ShoppingService();

// Create the request object.
$request = new Types\GeteBayTimeRequestType();

// Send the request to the service operation.
$response = $service->geteBayTime($request);

// Output the result of calling the service operation.
printf("The official eBay time is: %s\n", $response->Timestamp->format('H:i (\G\M\T) \o\n l jS Y'));

Project Goals

  • Be well maintained.

License

Licensed under the Apache Public License 2.0.

Copyright 2020 Bohdan B.

ebay-api-sdk-php's People

Contributors

bohdanbaida avatar

Stargazers

Md Ariful avatar

Watchers

 avatar

Forkers

elogistical

ebay-api-sdk-php's Issues

Could not find a matching version of package bosston812/ebay-api-sdk-php

Trying to require your project and get:

[InvalidArgumentException]
Could not find a matching version of package bosston812/ebay-api-sdk-php. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.