Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 416c9a772e
Fetching contributors…

Cannot retrieve contributors at this time

file 22 lines (18 sloc) 0.409 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?PHP
/**
* example that fetches the current eBay time
*
* $Id$
*
* @package Services_Ebay
* @subpackage Examples
* @author Stephan Schmidt
*/
error_reporting(E_ALL);
require_once '../Ebay.php';
require_once 'config.php';

$session = Services_Ebay::getSession($devId, $appId, $certId);

$session->setToken($token);

$ebay = new Services_Ebay($session);

echo $ebay->GeteBayOfficialTime();
?>
Something went wrong with that request. Please try again.