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 shows how to load an API call
4
 * and use it without the wrapper.
5
 *
6
 * $Id: example_features_UsingModels.php,v 1.1 2004/11/30 20:03:48 schst Exp $
7
 *
8
 * @package     Services_Ebay
9
 * @subpackage  Examples
10
 * @author      Stephan Schmidt
11
 */
12
error_reporting(E_ALL);
13
require_once '../Ebay.php';
14
require_once 'config.php';
15
 
16
$session = Services_Ebay::getSession($devId, $appId, $certId);
17
$session->setToken($token);
18
 
19
$item = Services_Ebay::loadModel('Item', '4501296414', $session);
20
 
21
echo	"<pre>";
22
print_r($item->toArray());
23
echo	"</pre>";
24
 
25
$item->Get();
26
 
27
echo	"<pre>";
28
print_r($item->toArray());
29
echo	"</pre>";
30
?>