Skip to content
PHP library for Jinance public API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
README.MD
composer.json
composer.lock
example.php

README.MD

[WIP]PHP library for String.exchange public API

With the PHP library, you can easily trade in String.exchange

Getting Start

First you need to sign up for the String.exchange API. You will need to pass KYC, otherwise some APIs are not supported.

Installation

To install in your project

composer require string-exchange/string-exchange-php

Usage


<?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

LICENSE

MIT

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.