forked from Elompenta/antpool-php-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.sample.php
More file actions
34 lines (32 loc) · 840 Bytes
/
custom.sample.php
File metadata and controls
34 lines (32 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/*!
* @author Sebastian Lutz
* @copyright Baebeca Solutions - Lutz
* @email lutz@baebeca.de
* @pgp 0x5AD0240C
* @link https://www.baebeca.de
* @link-github https://github.com/Elompenta/antpool-php-api
* @customer -
* @project antpool-php-api
* @license GNU GENERAL PUBLIC LICENSE Version 2
**/
// rename this file to custom.php and
// do you own stuff in this file
// we will never overrite this file
?>
<!-- API Examples -->
<pre>
<?php print_r($ant->get('poolStats')); ?>
</hr>
<?php print_r($ant->get('account')); ?>
</hr>
<?php print_r($ant->get('hashrate')); ?>
</hr>
<?php print_r($ant->get('workers')); ?>
</hr>
<?php print_r($ant->get('paymentHistory')); ?>
</hr>
<?php print_r($ant->get('workers', 'BTC', 100)); ?>
</hr>
<?php print_r($ant->get('paymentHistory', 'BTC', 100)); ?>
</pre>