I’m not a programmer. So, although this will probably take somebody 10 minutes, it’s over my head.
Basically, I’ve got the code below that downloads account balances from a test account and puts a multidimensional json array into a variable named $obj. (A printout of the data can be seen here: [login to view URL] )
I need someone to write in the lines of code to poplulate/update the fields named ticker, balance, and numshares in the table named “Balances” from the json data using php.
It’s a very small job, but there will be many more to follow. I need an on-going relationship for a bunch of similar jobs.
I’ll release the escrow within 5 minutes of receipt of the completion of the script below.
Thanks and I look forward to working with you!
//get balance data from bittrex api
$uri='[login to view URL]'.$apikey.'&nonce='.$nonce;
$ch = curl_init($uri);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('apisign:'.$sign));
$execResult = curl_exec($ch);
$obj = json_decode($execResult);
//Connect to my database
$mysql_host = 'localhost';
$mysql_user = 'stk1639_todd';
$mysql_pass = 'WILLPROVIDEUPONHIRING';
$mysql_db = 'stk1639_Crypto';
//I guess use a foreach on a $obj to parse the array into the balance table. I got stuck here and need your help, lol!