Download the PHP package mrteye/gdax without Composer
On this page you can find all versions of the php package mrteye/gdax. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package gdax
Short Description API for GDAX A service provided by coinbase. (Unofficial)
License MIT
Informations about the package gdax
API for GDAX, A service provided by coinbase. (An Unofficial API)
Quick Use Sections:
- Installation
- Usage Examples
- Api Summary
The API methods in the Api class start at "getAccounts". Each method has basic usage information along with a reference link to the GDAX Api documentaiton on the internet.
The ApiInterface class has a cleaner represenation of methods and parameters without comments.
License
MIT - MIT License File: LICENSE
Installation
Copy the config.php.example file to config.php and place it in your document root. Add credentials for private API calls.
Public API calls will work without API credentials. Get credentials from the gdax site: Login and goto the Api section.
Composer
Usage Examples
The following three examples show how to use the mrteye\GDAX api. From basic to Advanced usage examples: public acces, private access, and extending the API into your own class.
Working examples are provided with index.php, located in the test folder.
Example #1 Basic. Public access, no authentication required.
Example #2 Basic. Private access, authentication is required.
Example #3 Advanced. Extend the Api class.
API Summary
All $param properties are associative arrays with either API parameters or pagination parameters or both. The parameters for each method are documented in the Api class file, the ApiInterface file, and on the internet at the provided url.
Get accounts. https://docs.gdax.com/#list-accounts
Get an account. https://docs.gdax.com/#get-an-account
Get account activity. https://docs.gdax.com/#get-account-history
Get order holds. https://docs.gdax.com/#get-holds
Place a new order. https://docs.gdax.com/#place-a-new-order
Cancel an order. https://docs.gdax.com/#cancel-an-order
Cancel all orders. https://docs.gdax.com/#cancel-all
Get open and unsettled orders. https://docs.gdax.com/#list-orders
Get a GDAX order. https://docs.gdax.com/#get-an-order
Get a list of fills. https://docs.gdax.com/#list-fills
Get fundings. https://docs.gdax.com/#funding
Repay a funding record. https://docs.gdax.com/#repay
Transfer funds between a profile and a margin profile. https://docs.gdax.com/#margin-transfer
Get an overview of your profile. https://docs.gdax.com/#position
Close Position TODO: Identify this API. https://docs.gdax.com/#close
Deposit funds from a payment method. https://docs.gdax.com/#payment-method
Deposit funds from a coinbase account. https://docs.gdax.com/#coinbase
Widthdraw funds to a payment method. https://docs.gdax.com/#payment-method53
Withdraw funds to a coinbase account. https://docs.gdax.com/#coinbase54
Withdraw funds to a crypto address. https://docs.gdax.com/#crypto
Get a list of your payment methods. https://docs.gdax.com/#payment-methods
Get a list of your coinbase accounts. https://docs.gdax.com/#list-accounts59
Create a report. https://docs.gdax.com/#create-a-new-report
Get report status. https://docs.gdax.com/#get-report-status
Get 30 day trailing volume. https://docs.gdax.com/#trailing-volume
Get available currency trading pairs. https://docs.gdax.com/#get-products
Get product order book. https://docs.gdax.com/#get-product-order-book.
Get product ticker. https://docs.gdax.com/#get-product-ticker
Get the trades for a specific product. https://docs.gdax.com/#get-trades
Get historic rates for a product. Max 200 data points. https://docs.gdax.com/#get-historic-rates
Get 24 hour statistics for a prdoduct. https://docs.gdax.com/#get-24hr-stats
Get list of known currencies. https://docs.gdax.com/#get-currencies
Get GDAX server time. https://docs.gdax.com/#time
Contents
Resource | Description |
---|---|
Contributions
Suggestions and code modifications are welcome. Create a pull/merge request, and tell me what you are thinking.