Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include ("mtgox_api_base.php");
- include ("mtgox_private_api.php");
- include ("mtgox_public_api.php");
- //include ("mtgox_api_objects.php");
- //echo "test";
- $api = new MtGox_Private_Api();
- $api->set_currency('USD');
- $api->set_authentication('SSSSSSSSSSSSSSS', 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS');
- // THIS WORKS
- $history = $api->get_account_info();
- print_r($history);
- //DOES NOT WORK, returns blank page
- $address = '14XnxAbrNZkkXRX76MS2S5JnJ1hUbgCs1Y';
- $amount_int = '1';
- $history = $api->withdraw_coins($address, $amount_int);
- print_r($history);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement