Feat(api): Correct Log URL

Switch to correct API URL for the Log call

Issue/Task ID: 1
This commit is contained in:
Keith Solomon
2022-09-27 09:50:21 -05:00
parent 6e63f963b1
commit 9864688aae
+1 -1
View File
@@ -7,7 +7,7 @@ echo '<pre>';
print_r($objMoney); print_r($objMoney);
echo '</pre>'; echo '</pre>';
$jsonLog = file_get_contents('https://api.torn.com/user/?selections=money&key=LDtibInYMdgVnM9n'); $jsonLog = file_get_contents('https://api.torn.com/user/?selections=log&key=LDtibInYMdgVnM9n');
$objLog = json_decode($jsonLog); $objLog = json_decode($jsonLog);
echo '<h1>User API - Log</h1>'; echo '<h1>User API - Log</h1>';