isecpay / crypto-exchange
dev-master
2023-08-13 12:14 UTC
Requires
- php: 8.*
- guzzlehttp/guzzle: ^7.7
This package is auto-updated.
Last update: 2024-09-13 14:42:26 UTC
README
iSecPay Crypto Exchange API PHP SDK
此库需要至少PHP 8.0
您需要一个API密钥。您可以通过联系ce-api@isecpay.co来获取
安装
composer require isecpay/crypto-exchange
示例
获取数字
// require_once './vendor/autoload.php';
// Replace 'YOUR_API_KEY' with your actual API key from iSecPay API.
$apiKey = 'YOUR_API_KEY';
try {
$api = new PHPCore\CryptoExchange\Api($apiKey); // $api$key is optional if $_ENV['ISECPAY_CRYPTO_EXCHANGE_API_KEY'] is set
} catch (Exception $e) {
echo "Error: " . $e->getMessage() . "\n";
}
许可证
本项目采用MIT许可证授权。