Code Monkey home page Code Monkey logo

allegro-api's People

Contributors

mstraczkowski avatar vt-parhomenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

allegro-api's Issues

Uncaught Error: Class 'Zoondo\AllegroApi\AllegroWebApi' not found

Cześć,
Mam problem z podstawowym uruchomieniem skryptu - jedynie wrzuciłem:
require_once '../../api/allegro/AllegroApi.php'; use Zoondo\AllegroApi\AllegroRestApi; var_dump( AllegroRestApi::getAuthLink($clientId, $redirectUri) );

i dostaje:
Uncaught Error: Class 'Zoondo\AllegroApi\AllegroWebApi' not found in /app/panel/api/allegro/AllegroApi.php:16 Stack trace: #0 /app/panel/portal/allegro/resumption-cron.php(13): require_once() #1 {main} thrown in /app/panel/api/allegro/AllegroApi.php on line 16
Linia 16 to własne use Zoondo\AllegroApi\AllegroRestApi;

Dodawałem również require_once dla wszystkich plików AllegroApi.php, AllegroRestApi.php oraz AllegroWebApi.php, ale nic się nie zmienia.

Problem z doGetSiteJournalDeals

Witam,
próbuję uzyskać poprzez doGetSiteJournalDeals transakcje z danego dnia, oto mój kod:
`<?php // Used namespace
require DIR . '/vendor/autoload.php';
use Zoondo\AllegroApi\AllegroApi;

// Creating new instance of AllegroApi
$api = new AllegroApi('mojkluczapi');

// We are going to login
$api->login(array(
'userLogin' => 'mojlogin',
'userPassword' => 'mojehaslo',
'countryCode' => $api->getCountry(),
'webapiKey' => $api->getApiKey(),
'localVersion' => $api->getVersionKey(),
));
// For now, we have an access to $api->getSession()

$response = $api->doGetSiteJournalDeals(array(
'sessionId' => $api->getSession(),
'journalStart' => 1519290000,
));
print_r($response);
?>`
Niestety nie ważne co wpiszę w wartości journalStart to ciągle mam ten sam wynik. Proszę o informację jak mogę w poprawny sposób przekazać datę rozpoczęcia.
Z góry dziękuję za jakąkolwiek podpowiedź.

Jak dodać własne parametry do SoapClient?

Fajnie jakby była możliwość dodania swoich parametrów do soapa.
W tym momencie jest tylko
'features' => SOAP_SINGLE_ELEMENT_ARRAYS

Ja np. potrzebuję:
'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
'keep_alive' => true,
'connection_timeout' => 5000,
'cache_wsdl' => WSDL_CACHE_NONE,
'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | SOAP_COMPRESSION_DEFLATE

Dzięki!

Błąd podczas wywołania skryptu

Witam,
podczas wywołania przykładowego skryptu otrzymuję błąd:
Fatal error: Class 'SoapClient' not found in D:\xampp\htdocs\allegro\vendor\zoondo\allegro-api\source\AllegroApi.php on line 136
Prośba o pomoc co tutaj może być nie tak.
Pozdrawiam

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.