elompenta / antpool-php-api Goto Github PK
View Code? Open in Web Editor NEWFree Antpool PHP-API-Client
License: GNU General Public License v2.0
Free Antpool PHP-API-Client
License: GNU General Public License v2.0
Hi,
I figure out a restriction with the antpool API : we can get only 500 workers per page. After 500, we need to specify a number of page to get the others worker.
In the option on you get method, it is not possible to change the parameter "page" as it should be. Do you want me to add this feature ?
Regards
Léo
Hello, I'm new to programming and I would like to know how I do to show the data that are inside custom.php without without an array, example
When I give print_r ($ ant-> get ('poolStats')); he returns me a lot of information I wanted to get just one of the information he shows me
missing copyright and wrong licence
Repository: aburakovskiy/laravel-antpool-api
URL: https://github.com/aburakovskiy/laravel-antpool-api
Contact: [email protected]
Set API timeout after 10 seconds with error message
Hi
according to the do (https://www.antpool.com/user/apiGuild.htm) for each endpoint we can set the parameter "pageSize" wich is the number of records per page, and default is 10.
When we have a lot of worker and the parameter is set to 10, it is not possible to get all the workers (we have more thant 40 workers).
So we have to put the parameter pageSize to 100 to get it work !
I changed the code like following in the method get() :
$post_fields = array(
'key' => $this->key,
'nonce' => $nonce,
'signature' => $hmac,
'coin' => $coin,
'pageSize' => 100
);
But it is just to make it work, can you do the enhancement ?
Thanks
Hi, i have Signature error message when request, have solution:
API Error: stdClass Object ( [code] => -7 [message] => Signature error )
use the orig. API endpoint if cloudflare issue was fixed
Cronjobs generate unneeded output and emails if API is down
Support multiple Accounts
If API is down, it would be any Curl error the mainclass will decode an JSON object.
No JSON is given if API is down
PHP Notice: Trying to get property of non-object in /antpool-php-api/classes/antpool.php on line 64
PHP Notice: Trying to get property of non-object in /antpool-php-api/custom.php on line 3
PHP Warning: Invalid argument supplied for foreach() in /antpool-php-api/custom.php on line 3
PHP Notice: Trying to get property of non-object in /antpool-php-api/classes/antpool.php on line 64
PHP Notice: Trying to get property of non-object in /antpool-php-api/custom.php on line 29
missing copyright and wrong licence
User: @time02
Repository: Time02/Antpool-php-api
URL: https://github.com/Time02/Antpool-php-api
Contact: [email protected]
No worker configured yet, please follow the below steps to configure your workers:
create sample file with notification of new transacion in balance
in order for you to have a mining script you have to have some kind of mining url and they isnt any I an find so which file is it in ?_?
Hello,
after registering a new api key and followed your instructions, I'm getting:
API Error: stdClass Object
(
[code] => -7
[message] => Signature error
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.