Export Telstra Group Usage Data to CSV
As per example.php:
Include class file
include('telstra.php');
Enter your Telstra Account credentials and Login to create a session
//Telstra Account
$Username = 'telstrausername';
$Password = 'telstrapassword';
//Login and create session
$login = Telstra::login($Username, $Password);
Get either a Summary or Detailed Usage Report
//Get Summary of Group Data
$csv = Telstra::getGroupUsage('group_summary.csv');
//Get Detailed Usage Summary
$csv = Telstra::getGroupUsage('detailed_summary.csv', 1);
Ensure .csv files and session.txt is writable in the directory