Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MichaelWalker-git/2ad7e71e90abceb230a75119f8bd4c96 to your computer and use it in GitHub Desktop.
Save MichaelWalker-git/2ad7e71e90abceb230a75119f8bd4c96 to your computer and use it in GitHub Desktop.
for(let i =0; i<20;i++){
if(i < 5){
fetch("https://api.chanced.com/api/mines/seeds", {
"headers": {
"accept": "application/json",
"accept-language": "en-US,en;q=0.9",
"access-control-allow-methods": "*",
"access-control-allow-origin": "*",
"access-control-max-age": "86400",
"authorization": "Bearer 564425|EPJYRKQ8ZN8o88sfqyLMV1WFmYcyBsy3xHh0yRH5",
"cache-control": "no-cache",
"content-type": "application/json",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"123\", \"Not:A-Brand\";v=\"8\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-site",
"x-socket-id": "706750.801753"
},
"referrer": "https://www.chanced.com/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\"action\":\"refresh\"}",
"method": "POST",
"mode": "cors",
});
}
fetch("https://api.chanced.com/api/mines/5444952", {
"headers": {
"accept": "application/json",
"accept-language": "en-US,en;q=0.9",
"access-control-allow-methods": "*",
"access-control-allow-origin": "*",
"access-control-max-age": "86400",
"authorization": "Bearer 564425|EPJYRKQ8ZN8o88sfqyLMV1WFmYcyBsy3xHh0yRH5",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"123\", \"Not:A-Brand\";v=\"8\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-site",
"x-socket-id": "687089.16614382"
},
"referrer": "https://www.chanced.com/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
"method": "GET",
"mode": "cors",
});
}
setTimeout(() => {
fetch("https://api.chanced.com/api/mines", {
"headers": {
"accept": "application/json",
"accept-language": "en-US,en;q=0.9",
"access-control-allow-methods": "*",
"access-control-allow-origin": "*",
"access-control-max-age": "86400",
"authorization": "Bearer 564425|EPJYRKQ8ZN8o88sfqyLMV1WFmYcyBsy3xHh0yRH5",
"cache-control": "no-cache",
"content-type": "application/json",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"123\", \"Not:A-Brand\";v=\"8\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-site",
"x-socket-id": "687089.16614382"
},
"referrer": "https://www.chanced.com/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\"wager\":0.01,\"mines\":11}",
"method": "POST",
"mode": "cors",
});
},125)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment