Author

Topic: how primedice api used to program (Read 1308 times)

sr. member
Activity: 406
Merit: 250
Expert in busting
April 03, 2017, 08:48:49 AM
#10
I have a nice strategy for dice since im just testing my python script, but it always kicks in the luck factor, it can reach 0.01 or kill you in less than 10 minutes. Luck is a fundamental necessary Wink
full member
Activity: 182
Merit: 100
April 02, 2017, 08:25:54 PM
#9
do you have bot script for profit?
I want check code..
member
Activity: 70
Merit: 10
March 15, 2017, 01:43:02 AM
#8
Try to code accordingly, i haven't used primedice api but according to their guide, you have to send ...
 I have no idea where to begin using primedice api in my own app. But Primedice is a casino that uses bitcoin to allow users to ..... It is then trivially true that a given seed will only be used in one game at a time. This api is usefull to bet remotely without opening primedice.
full member
Activity: 182
Merit: 100
March 15, 2017, 01:07:36 AM
#7
for what need use api?
if site have autobetting..
This api is usefull to bet remotely without opening primedice. Also to program custom bots and play 24×7 using some strategy to make constant profit however this constant profit is hard to get using any strategy.
thats true, no strategy for geting constant profit, but you can try your own strategies, those you cant use with dice bot cause it is from your own,

ok. do you try your own strategy?
how is your result and profit now?
sr. member
Activity: 378
Merit: 250
March 03, 2017, 08:59:07 PM
#6
for what need use api?
if site have autobetting..
This api is usefull to bet remotely without opening primedice. Also to program custom bots and play 24×7 using some strategy to make constant profit however this constant profit is hard to get using any strategy.
thats true, no strategy for geting constant profit, but you can try your own strategies, those you cant use with dice bot cause it is from your own,
legendary
Activity: 966
Merit: 1006
March 02, 2017, 04:45:15 AM
#5
for what need use api?
if site have autobetting..
This api is usefull to bet remotely without opening primedice. Also to program custom bots and play 24×7 using some strategy to make constant profit however this constant profit is hard to get using any strategy.
full member
Activity: 182
Merit: 100
March 02, 2017, 01:24:51 AM
#4
for what need use api?
if site have autobetting..
sr. member
Activity: 378
Merit: 250
March 01, 2017, 11:59:07 PM
#3
this should be the url
https://api.primedice.com/api/bet/?api_key=your api code
with the params, thats why it gives an unauthorized
legendary
Activity: 1218
Merit: 1006
October 24, 2016, 04:54:31 AM
#2


Make a bet
POST /bet
Expects amount, target (the 0-99.99 number), and condition (an "<" or ">"). Requires authentication.

https://api.primedice.com/api/bet?api_key=&amount=0.00010000&target=50&condition=<

above link not working , then how i make a bet by used with api key





POST command should be sended via form using POST in form method so only with url you have given it will not work, above example is of GET method.
You can see how two types of form method GET and POST works here http://www.w3schools.com/tags/att_form_method.asp
Try to code accordingly, i haven't used primedice api but according to their guide, you have to send betting details in POST not in GET.
newbie
Activity: 2
Merit: 0
October 24, 2016, 02:26:12 AM
#1
I use the api key into below link it works fine it provide all info

https://api.primedice.com/api/users/1?api_key=

but how to make a bet

Make a bet
POST /bet
Expects amount, target (the 0-99.99 number), and condition (an "<" or ">"). Requires authentication.

https://api.primedice.com/api/bet?api_key=&amount=0.00010000&target=50&condition=<

above link not working , then how i make a bet by used with api key

my python code

import requests
post_data = {'api_key':'api-key', 'amount':'0.00001000', 'target':'50', 'condition':'<'}
post_response = requests.post(url='https://api.primedice.com/api/bet?', data=post_data)
print post_response

code result or Unotherized

what, wrong in the code





Jump to: