Download the PHP package loonpwn/blockfolio-php without Composer
On this page you can find all versions of the php package loonpwn/blockfolio-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download loonpwn/blockfolio-php
More information about loonpwn/blockfolio-php
Files in loonpwn/blockfolio-php
Download loonpwn/blockfolio-php
More information about loonpwn/blockfolio-php
Files in loonpwn/blockfolio-php
Vendor loonpwn
Package blockfolio-php
Short Description Blockfolio SDK for PHP - Use Blockfolios API in your PHP project
License Apache-2.0
Package blockfolio-php
Short Description Blockfolio SDK for PHP - Use Blockfolios API in your PHP project
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package blockfolio-php
Blockfolio SDK for PHP - Unofficial
The Blockfolio SDK for PHP is an interface for interacting with the Blockfolio endpoints.
Example
[https://harlanzw.com/export-blockfolio]
Features
- Majority of Blockfolio endpoints mapped out
- Built on Guzzle, middleware for handling the required headers
- Full behat automated testing to ensure endpoints are working as expected
- Docker workspace for easy development
Getting Started
-
Find Your Magic - You will need to use Packet Capture Android App and scan Blockfolio outgoing requests. The request looks like this
- Get your API Key – This can be found within the app under Settings -> Token
- Minimum requirements – To run the SDK, your system will need to meet the minimum requirements, including having PHP >= 7.1.
- Install the SDK – Using Composer run
composer require loonpwn/blockfolio-php
- Using the SDK – Follow the examples below or look at the functions available
Endpoints
The base URL is https://api-v0.blockfolio.com/rest/
.
version
- Gets the API versionsystem_status
- Gets the API's system statuscoinlist_v6
- Gets a list of all coins availablecurrency
- Gets a list of currencies availableget_all_positions
- Gets a list of all your positionsget_positions_v2/{ticker}
- Gets all of your positions for a tickerget_combined_position/{ticker}
- Similar to the abovemarketdetails_v2/{exchange}/{ticker}
- See what an exchange is trading a ticker for. Binance used by defaultcandlestick/{exchange}/{ticker}
- Get all data points for a ticker on an exchange. Binance used by defaultorderbook/{exchange}/{ticker}
- Get the order book for a ticker on an exchange. Binance used by default
Quick Examples
Create the client
The ideal setup is to create an environment variable. Alternatively you can pass in the options the api key.
Get all positions
All versions of blockfolio-php with dependencies
PHP Build Version
Package Version
The package loonpwn/blockfolio-php contains the following files
Loading the files please wait ....