Open donnolic opened 3 years ago
After created a new php page
And added the following codes I got this error. uncaught error: class 'luno\request' not found in c:\wamp\www\cc\index.php on line 4
This my new page code <?php $client = new Luno\Client(); $client->setAuth("ert3543gh????", "Fttdfsj6_trru??????"); $req = new Luno\Request\GetOrderBook(); $req->setPair("XBTZAR"); try { $res = $client->getOrderBook($req); echo "Found " . count($res->getBids()) . " bid(s)"; } catch (Luno\Error $e) { echo $e->message(); } ?>
Hi @donnolic, sorry no one got back to you! Did you manage to get round this issue?
After created a new php page
And added the following codes I got this error. uncaught error: class 'luno\request' not found in c:\wamp\www\cc\index.php on line 4
This my new page code <?php $client = new Luno\Client(); $client->setAuth("ert3543gh????", "Fttdfsj6_trru??????"); $req = new Luno\Request\GetOrderBook(); $req->setPair("XBTZAR"); try { $res = $client->getOrderBook($req); echo "Found " . count($res->getBids()) . " bid(s)"; } catch (Luno\Error $e) { echo $e->message(); } ?>