2017 © Pedro Peláez
 

library php-mincoin

PHP classes used to make requests to the MinCoinTools API.

image

mincointools/php-mincoin

PHP classes used to make requests to the MinCoinTools API.

  • Monday, February 17, 2014
  • by mincointools
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-mincoin

PHP classes used to make requests to the MinCoinTools API. See the documentation at http://api.mincointools.net for the full documentation., (*1)

Examples

$mincoin = new MinCoinTools\MinCoin();

// Get list of recently created blocks.
$blocks  = $mincoin->getBlocks(10);
var_dump($blocks);

// Get information on a single block.
$block = $mincoin->getBlock($blocks[0]["hash"]);
var_dump($block);

// Get statistics.
$stats = $mincoin->getStats(10);
var_dump($stats);

// Get the most recent statistics.
$recent = $mincoin->getRecent();
var_dump($recent);

// Get recent transactions.
$transactions = $mincoin->getTransactions(10);
var_dump($transactions);

// Get information on a single transaction.
$transaction = $mincoin->getTransaction($transactions[0]["id"]);
var_dump($transaction);

Requirements

  • PHP 5.4 or greater
  • cURL PHP extension

Installing

Install using Git by adding the classes to your project., (*2)

git clone git@github.com:mincointools/php-mincoin.git, (*3)

Install using Composer by adding the project to your composer.json., (*4)

"mincointools/php-mincoin" : "dev-master", (*5)

License

This content is released under the MIT License. See the included LICENSE for more information., (*6)

The Versions

17/02 2014

dev-master

9999999-dev

PHP classes used to make requests to the MinCoinTools API.

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *