Jump to content

(Platinum V VIP Player) API worked for a year now Error 1020


Digighost

Featured Comment

Posted
7 hours ago, Tristan said:

Due to the recent changes, we have blocked access to our API for external users. We plan on building a public API in the future for everyone to have access to however. 

Unfortunately, I cannot provide an ETA on that so I apologize - sorry for the inconvenience this has caused.

thx for the infos but the api was already public 😉. everyone can reach api.stake.bet/graphql. 

Posted
On 9/7/2022 at 4:00 AM, pragna said:

thx for the infos but the api was already public 😉. everyone can reach api.stake.bet/graphql. 

how do i do a posr request directly from there?

Posted
1 hour ago, balbs89 said:

how do i do a posr request directly from there?

not so easy. reads the doc tab on the right side but at time you only get an forbidden as response.

Posted
On 9/20/2022 at 4:19 PM, pragna said:

okay seems api is working now but you must set the POST to tls1.2

can you explain what you mean by this and how someone would go about implementing this into their current code?

Posted

As example:

(i use c# bot)

var murl = "https://api." + StakeURL + "/graphql";

            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

           .....

            RestoreClient = new RestClient();
            RestoreClient .BaseUrl = new Uri(murl);
          .....
            RestoreClient .UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36";

  • 3 weeks later...
Posted
On 9/22/2022 at 6:18 AM, pragna said:

As example:

(i use c# bot)

var murl = "https://api." + StakeURL + "/graphql";

            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

           .....

            RestoreClient = new RestClient();
            RestoreClient .BaseUrl = new Uri(murl);
          .....
            RestoreClient .UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36";

hello buddy,

in my written code it's exactly like that even so I can't.

we need to force a situation something like selenium in python... but I wouldn't like that!

oh god....

 

Posted

i test it later

Okay . stake.com/_api/graphql is the right one but now they make a secure connection check before.

Checking if the site connection is secure

stake.bet needs to review the security of your connection before proceeding.\n

Have no time to  fix. maybe later

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

Privacy Policy Terms of Use