Bitcoin Forum
May 30, 2024, 07:59:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: API-DICE - FREE Gambling platform for bot/script developers!  (Read 446 times)
Art3mis (OP)
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
June 11, 2016, 07:34:35 PM
 #1

Heyo!

Are you a developer? If so, this site might come in handy for you. API-DICE is a Free betting platform for developers willing to code their own betting site bots or scripts.

The site simulates a normal dice game with a 0 percent house edge and returns everything in a JSON formatted string.

Let's get right into how the site works and how you can use it!



There are 3 pages that build the whole system. These files are the following:

  • register.php
  • bet.php
  • faucet.php

Register.php is for registering a new user to the system. A new user gets 1000 API-Coins by default.
Bet.php is for placing a bet. You may choose the multiplier and bet.
Faucet.php is for well, using the faucet. This will reset your balance to 1000 API-Coins if you don't have any.

Here's a quick guide on using these 3 pages to place a bet.

Registering:

Send a GET request with these parameters to register an account. You may also directly visit the link via your browser.
http://bbo.yt/api-dice/register.php?username=YourUsername&password=YourPassword

Here's the response that you should receive when registering is done correctly:
Code:
[{"page":"register.php"},{"usernameSpecifided":"true"},{"passwordSpecifided":"true"},{"dbConnection":"success"},{"register":"success"},{"username":"YourUsername"},{"password":"YourUsername"},{"balance":"1000 APIDICE-Coins"}]

Placing a Bet:

Send a GET request with these parameters to place a bet. Feel free to change the bet amount and/or multiplier.
http://bbo.yt/api-dice/bet.php?username=YourUsername&password=YourPassword&bet=10&multiplier=2

Here's the response that you should receive when a bet has been placed:
Code:
[{"page":"bet.php"},{"usernameSpecifided":"true"},{"passwordSpecifided":"true"},{"betNumeric":"true"},{"multiplierNumeric":"true"},{"multiplierRangeOK":"true"},{"successfulLogin":"true"},{"balance":"1000"},{"bet":"10"},{"enoughBalance":"true"},{"roll":313853},{"rollUnder":500000},{"result":"win"},{"newBalance":"1010"}]

When the request has been submitted your balance will update.

Claiming the faucet:

Send a GET request with these parameters to place a bet. You will need to have 0 balance in order for this to work.
http://bbo.yt/api-dice/faucet.php?username=YourUsername&password=YourPassword

Here's the response that you should receive when a bet has been placed:
Code:
[{"page":"register.php"},{"usernameSpecifided":"true"},{"passwordSpecifided":"true"},{"dbConnection":"success"},{"faucet_claim":"success"},{"newBalance":"1000 APIDICE-Coins"}]



Here's pretty much all I have to offer right now. Feel free to develop your strategies and let me know what you've come up with Smiley

Until next time,
Art3mis
JasonXG
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
June 14, 2016, 04:16:28 PM
 #2

This is just to test out your skills right ? Like the money is not real hey ?
Art3mis (OP)
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
June 16, 2016, 01:02:32 PM
 #3

This is just to test out your skills right ? Like the money is not real hey ?

Correct.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!