Author

Topic: API-DICE - FREE Gambling platform for bot/script developers! (Read 474 times)

full member
Activity: 124
Merit: 100
This is just to test out your skills right ? Like the money is not real hey ?

Correct.
hero member
Activity: 770
Merit: 500
This is just to test out your skills right ? Like the money is not real hey ?
full member
Activity: 124
Merit: 100
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
Jump to: