Skip to content

FaucetPay API client in PHP, suitable for clever developers and webmasters

License

Notifications You must be signed in to change notification settings

HanzCEO/FaucetPayPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaucetPayPHP

The most size efficient (lightweight) and beginner friendly FaucetPay API client in PHP, suitable for clever developers and webmasters

Get Started

  1. Download the script
wget https://github.com/HanzHaxors/FaucetPayPHP/raw/main/faucetpay.php
  1. Attach in your project
include('./faucetpay.php');
  1. Use the library (this is the example)
$fp = new FaucetPay('MY_API_KEY');
$method = $_GET['m'];

$fp->$method(
	$_GET, // An array of parameters without api_key
	true // Print test page
);

$response = $fp->send(
	array(
		"currency" => "BTC",
		"amount" => 100,
		"to" => "1HeadlkM24Jac..."
	)
);
print_r($response);

End Notes

Thank you for visiting this page! Appreciate my works by Following, being a Stargazer, Contribute to the project or Donate me via cryptocurrency down below

BTC, ETH, LTC, BCH, DASH, DGB, FEY via FaucetPay (username: Hanz)
WAVES : use alias (hanz, hanzhaxors, haxors)

About

FaucetPay API client in PHP, suitable for clever developers and webmasters

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages