class AllegroWebAPI { protected $_instance; protected $_config; protected $_session; protected $_client; protected $_local_version; /* Określenie kraju (1 = Polska) */ const COUNTRY_CODE = 1; /** * Zapis ustawień oraz połączenie z WebAPI */ public function __construct() { 'allegro_key' => ALLEGRO_KEY, 'allegro_login' => ALLEGRO_LOGIN, 'allegro_password' => ALLEGRO_PASSWORD ); $this->_client = new SoapClient('http://webapi.allegro.pl/uploader.php?wsdl'); } public function GetPostBuyFormsData($Options) { $this->checkConnection(); return $this->objectToArray($this->_client->doGetPostBuyFormsData( $this->_session['session-handle-part'], $Options )); } }
Jeśli kod jest dobry to jak go wyświetlić na stronie żebym widzieł wyniki?
Z góry dzięki z pomoc