File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 7
7
// load config values
8
8
include 'config.sample.php ' ;
9
9
10
+ // full scale example for downloading everything what's possible and handling all errors
10
11
try {
11
-
12
12
$ client = Gwt_Client::create ($ email , $ password )
13
13
->setDaterange (
14
14
new DateTime ('-10 day ' , new DateTimeZone ('UTC ' )),
37
37
continue ;
38
38
}
39
39
40
- /*
41
- // using shorthand method
42
- $filename = $client->getTopQueriesTableData();
43
- if (!$filename) {
44
- echo "Data for top queries from {$site} saved to {$filename} \n";
45
- } else {
46
- echo "Unable to save data for top queries from {$site} \n";
47
- }
48
- */
49
-
50
40
// looping through all available tables
51
41
$ allowedTables = $ client ->getAllowedTableNames ();
52
42
foreach ($ allowedTables as $ tableName ) {
You can’t perform that action at this time.
0 commit comments