MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b1536/advancedfunctions.co/bmb/
File Upload :
Current < : /hermes/sb_web/b1536/advancedfunctions.co/bmb/server.html

<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src='googleSheetsPortal.js'></script>

<script src='get.js'></script>

</head>

<body onload= 'javascript:run()'>
Big money bets server [about:config|security.mixed_content.block_active_content|false]
</body>

<script>
var googleSheetsPortalScript='https://script.google.com/macros/s/AKfycbxINUAjYJBSEg5L-cvWEhQy1lj-Tw3WHvvx4bOf9nuExh8L2dE/exec';

function run(){
$.ajax({
  headers: {'X-Auth-Token': 'a58605df69dc4208ad965ce1c06ae40c'},
  url: "https://api.football-data.org/v2/matches",
  dataType: 'json',
  type: 'GET'
}).done(function(response) {
sendDataToGoogleSheets(['setTodaysGame',JSON.stringify(response)],googleSheetsPortalScript);
  console.log(response);
});
setTimeout(function(){run();},60000);
}

function receiveDataFromGoogleSheets(){
if(getDataFromGoogleSheetsAsArray()[0]=='sendPayout'){
get(getDataFromGoogleSheetsAsArray(),'http://64.66.10.236:8080/');
}
}

function receiveDataFromGet(){
if(getDataFromGetAsArray()[0]=='confirmPayoutComplete'){
sendDataToGoogleSheets(getDataFromGetAsArray(),googleSheetsPortalScript);
}
console.log('Test: '+getDataFromGet());
}

</script>
</html>