diff --git a/Torn Vault Tacker App Notes.txt b/Torn Vault Tacker App Notes.txt new file mode 100644 index 0000000..80f4048 --- /dev/null +++ b/Torn Vault Tacker App Notes.txt @@ -0,0 +1,8 @@ +Torn Vault Tacker App Notes + +API calls + https://api.torn.com/user/?selections=money&key=\ + Vault total: vault_amount + https://api.torn.com/user/?selections=log&key=\ + "title": "Vault withdraw" + diff --git a/vault.php b/vault.php new file mode 100644 index 0000000..d318cd1 --- /dev/null +++ b/vault.php @@ -0,0 +1,17 @@ +User API - Money'; +echo '
';
+print_r($objMoney);
+echo '
'; + +$jsonLog = file_get_contents('https://api.torn.com/user/?selections=log&key=LDtibInYMdgVnM9n'); +$objLog = json_decode($jsonLog); + +echo '

User API - Log

'; +echo '
';
+print_r($objLog);
+echo '
'; +?> \ No newline at end of file