Download the PHP package tarcisioruas/php-bitgrail-sdk without Composer
On this page you can find all versions of the php package tarcisioruas/php-bitgrail-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tarcisioruas/php-bitgrail-sdk
More information about tarcisioruas/php-bitgrail-sdk
Files in tarcisioruas/php-bitgrail-sdk
Package php-bitgrail-sdk
Short Description PHP BitGrail API is a PHP library for the BitGrail API designed to be easy to use.
License MIT
Homepage https://github.com/tarcisioruas/php-bitgrail-sdk
Informations about the package php-bitgrail-sdk
PHP BITGRAIL API SDK
This project is designed to help you make your own projects that interact with the Bitgrail API. You can register buy, sell or cancel orders, request deposit address, withdraws and others features. This project seeks to have complete API coverage.
Installation
Click for help with installation
## Install Composer If the above step didn't work, install composer and try again. #### Debian / Ubuntu Composer not found? Use this command instead: #### Windows: [Download installer for Windows](https://getcomposer.org/doc/00-intro.md#installation-windows)How To Use
Setting Security Params
To use private API you have to create keys pair to authenticate user at BitGrail.
Code Examples
Security
Setting security params.
Markets
Returns array with all tickers of all markets on BitGrail. `
Balances
Gets balances of all coins present on BitGrail you don't need parameters, except the authentication ones.
Ticker
Returns last ticker price details for a market.
OrderBook
Returns array composed by bids and asks of a market orderbook.
Trade History
Returns array of latest 500 transactions.
Open Orders
Get a list of open orders by a user.
Buy Order
Creates a buy order.
Sell Order
Creates a sell order.
Cancel Order
Cancels an order.
Latest Trades
Gets a list of latest trade of authenticated user.
Deposit Address
Gets a deposit address.
Deposit History
Gets a list of deposits of authenticated user.
Withdraw
Withdraws coins to other wallet / exchange.
Withdraw History
Get a list of withdrawals of authenticated user.
Development
Want to contribute? Great!
If you find a bug or want improve new features, be free to change de code and send a pull requests. You will be added to the developers list.
Donate
The developer spent a lot of time developing those classes. What about to contribute with some help? It will be cool to receive some XRB/MRai at xrb_31t8ncrcn1hr7xc7rpoqrjx9ufisgpaf9fbeg8nz7oyfcfd4ora7oadpjff8