Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?PHP
2
/**
3
 * example that fetches domains
4
 *
5
 * This is supposed to produce an exception
6
 * as your application probably is not allowed to make
7
 * this call.
8
 *
9
 * $Id: example_GetDomains.php,v 1.1 2004/10/28 17:14:53 schst Exp $
10
 *
11
 * @package     Services_Ebay
12
 * @subpackage  Examples
13
 * @author      Stephan Schmidt
14
 */
15
error_reporting(E_ALL);
16
require_once '../Ebay.php';
17
require_once 'config.php';
18
 
19
$session = Services_Ebay::getSession($devId, $appId, $certId);
20
 
21
$session->setToken($token);
22
 
23
$ebay = new Services_Ebay($session);
24
 
25
$domains = $ebay->GetDomains();
26
echo '<pre>';
27
print_r($domains);
28
echo '</pre>';
29
?>