diff --git a/lbcreposter.php b/lbcreposter.php new file mode 100644 index 0000000..7144656 --- /dev/null +++ b/lbcreposter.php @@ -0,0 +1,21 @@ +setClient( + new \GuzzleHttp\Client([ + 'timeout' => 90, + 'verify' => false, + ]) +); + +$login = 'xxxx'; +$password = 'xxxx'; + +$account = new \Shikiryu\LBCReposter\Account($client, $login, $password); +if ($account->connect()) { + // existing deals + $deals = $account->getDeals(); + var_dump($deals); +} \ No newline at end of file