2017 © Pedro Pelรกez
 

library coin_exchange_api

Coin Exchange Api Service

image

wangta69/coin_exchange_api

Coin Exchange Api Service

  • Tuesday, July 17, 2018
  • by wangta69
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

COIN EXCHANGE API (๊ฐ€์ƒํ™”ํ๊ฑฐ๋ž˜์†Œ API)

Installation

composer require wangta69/coin_exchange_api

composer require "wangta69/coin_exchange_api @dev"

Step 1) Add ServiceProvider to the providers array in config/app.php., (*1)

Wangta69\CoinExchange\CoinExchangeServiceProvider::class,

How To Use

[ BITHUMB ]

  • BITHUMB API DOCUMENT : https://www.bithumb.com/u1/US127

Public

use Wangta69\CoinExchange\BithumbApiService;

$api = new BithumbApiService();
$result = $api->publicApi('POST', $uri);

Private

use Wangta69\CoinExchange\BithumbApiService;

$api_url = '/info/user_transactions';
$connect_key = 'xxxxxx';
$secret_key = 'xxxxxxxx';
$reqParams = ['currency' => 'XRP', 'searchGb' => '0'];

$api = new BithumbApiService();
$api->set_private($api_key, $api_secret);
$result = $api->privateApiCall($api_url, $reqParams);

[ COINONE ]

  • COINONE API DOCUMENT : https://doc.coinone.co.kr (use api V2 version)

Public

use Wangta69\CoinExchange\CoinoneApiService;

$api = new CoinoneApiService();
$result = $api->publicApi('POST', $uri);

Private

use Wangta69\CoinExchange\CoinoneApiService;


$api = new CoinoneApiService();
$api->set_private($api_key, $api_secret);
$result = $api->privateApiCall($api_url, $reqParams);

[ KORBIT ]

  • COINRAIL API DOCUMENT : https://apidocs.korbit.co.kr

Public

use Wangta69\CoinExchange\KorbitApiService;;

$api = new KorbitApiService();
$result = $api->publicApi('GET', $uri);

[ UPBIT ]

  • COINRAIL API DOCUMENT : None

Public

use Wangta69\CoinExchange\UpbitApiService;;

$api = new UpbitApiService();
$result = $api->publicApi('GET', $uri);

[ COINNEST ]

  • COINNET API DOCUMENT : https://www.coinnest.co.kr/doc/intro.html

Public

use Wangta69\CoinExchange\CoinnestApiService;
----
$uri = '/api/pub/ticker?coin=btc';
$api = new CoinnestApiService();
$result = $api->publicApi('GET', $uri);

Private

use Wangta69\CoinExchange\CoinnestApiService;

$api = new CoinnestApiService();
$api->set_private($api_key, $api_secret);
$result = $api->privateApiCall($api_url, $reqParams);

[ COINRAIL ]

  • COINRAIL API DOCUMENT : https://coinrail.co.kr/api/document

Public

use Wangta69\CoinExchange\CoinrailApiService;

$api = new CoinrailApiService();
$result = $api->publicApi('GET', $uri);

Private

use Wangta69\CoinExchange\CoinrailApiService;

$api = new CoinrailApiService();
$api->set_private($api_key, $api_secret);
$result = $api->privateApiCall($api_url, $reqParams);

[ COINCHECK ]

  • COINRAIL API DOCUMENT : NONE

Public

use Wangta69\CoinExchange\CoincheckApiService;;

$api = new CoincheckApiService();
$result = $api->publicApi('GET', $uri);

[ HUOBIPRO ]

  • COINRAIL API DOCUMENT : https://github.com/huobiapi/API_Docs_en/wiki/REST_Reference

Public

use Wangta69\CoinExchange\HuobiproApiService;;

$api = new HuobiproApiService();
$result = $api->publicApi('GET', $uri);

The Versions

17/07 2018

dev-master

9999999-dev

Coin Exchange Api Service

  Sources   Download

MIT

The Requires

 

by Pondol

laravel cryptocurrency bithumb pondol ๋น—์ธ ๊ฑฐ๋ž˜์†Œ coinone ์ฝ”์ธ์›

02/02 2018

1.0.1

1.0.1.0

Coin Exchange Api Service

  Sources   Download

MIT

The Requires

 

by Pondol

laravel cryptocurrency bithumb pondol ๋น—์ธ ๊ฑฐ๋ž˜์†Œ coinone ์ฝ”์ธ์›