2017 © Pedro Peláez
 

library bitso-api-php

A Wrapper for Bitso API made in PHP 7 and Symfony 4

image

briones/bitso-api-php

A Wrapper for Bitso API made in PHP 7 and Symfony 4

  • Tuesday, December 19, 2017
  • by briones
  • Repository
  • 0 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

BitsoAPI Wrapper made in PHP 7

A wrapper for the Bitso® API made in PHP 7 and Symfony 4, (*1)

Motivation

I'm a Developer that use Bitso as platform for buying and selling Cryptocurrencies, and Bitso provides an API in order to create new ways to communicate with theirs systems so I searched for a composer package for abstract the API requests in PHP and I found the official bitso-php library but seems that this library is made in old an ugly PHP (the kind of PHP that all we hate) so I created this project in order to try replicate the functionality but with a better implementation and new technologies, like PHP 7 and Symfony 4., (*2)

I hope this could be useful for someone., (*3)

Installation

To install the bitso-api-php api wrapper: $ composer require briones/bitso-api-php or equivalently in your composer.json file:, (*4)

{
    "require": {
        "briones/bitsoAPI-php": "master"
    }
}

Public API Usage


use App\Entity\BitsoPublicApi $bitsoClient = new BitsoClient('https://api.bitso.com/v3/'); $bitsoPublicApi = new BitsoPublicApi(); $availableBooks = $bitsoPublicAPI->getAvailableBooks(['book'=>'btc_mxn','aggregate'=> 'true']);

Private API Usage


use App\Entity\BitsoPublicApi; $bitsoClient = new BitsoClient('https://api.bitso.com/v3/'); $bitsoPrivateApi = new BitsoPrivateApi('YOUR_PRIVATE_KEY', 'YOUR_SECRET_KEY'); $accountStatus = $bitsoPrivateApi->getAccountStatus();

UNDER CONSTRUCTION, (*5)

The Versions

19/12 2017

dev-master

9999999-dev https://github.com/Briones/BitsoAPI-PHP

A Wrapper for Bitso API made in PHP 7 and Symfony 4

  Sources   Download

MIT

The Requires

 

The Development Requires

by Roberto Briones

api php bitso

12/12 2017

0.0.1

0.0.1.0 https://github.com/Briones/BitsoAPI-PHP

A Wrapper for Bitso API made in PHP 7 and Symfony 4

  Sources   Download

MIT

The Requires

 

The Development Requires

by Roberto Briones

api php bitso