[WIP]PHP library for String.exchange public API
With the PHP library, you can easily trade in String.exchange
First you need to sign up for the String.exchange API. You will need to pass KYC, otherwise some APIs are not supported.
To install in your project
composer require string-exchange/string-exchange-php
<?php require_once 'vendor/autoload.php'; use StringExchange\StringExchange; $stringExchange = new StringExchange(); // get ticker of default symbol "BTC/AUD" $res = $stringExchange->ticker(); $api_key = ""; $api_secrect = ""; $stringExchange = new StringExchange($api_key, $api_secrect); // get account balance $res = $stringExchange->balance();
see more examples and all supported endpoints in example.php