cyjan/999dice 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cyjan/999dice

Composer 安装命令:

composer require cyjan/999dice

包简介

999 Dice PHP Library

README 文档

README

It's initial version of 999dice.com PHP library!

999dice PHP library on Packages.org

Install

You can add 999dice as a dependency using the composer.phar CLI:

# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add dependency
php composer.phar require reilag/999dice

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

Examples:

Create connection:

$apiKey     = '***** Your API key *****';
$username   = '***** Your login *****';
$password   = '***** Your password *****';
$totp       = '***** Your Totp *****';

$three9DiceClient = new \Three9Dice\Client(
	new \Three9Dice\User($apiKey, $username, $password, $totp)
);

Place BET:

/* Generate bet bet before placing */
$bet = new \Three9Dice\Bet\Bet(
	// Amount in satoshi
	10000,
	// Currency ( default )
	\Three9Dice\Constant::CURRENCY_BTC, 
	// GuessRange 
	\Three9Dice\GuessRange\GuessRange::generatePercent(49.95, true)
);

$three9DiceClient->placeBet( $bet );

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-08-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固