This commit is contained in:
salam committed 2026-10-04 15:25:03 +02:00
1 parent 9bcd4432c6
commit 6f92f9e1d5
1209 files changed
+220940

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
<?php
namespace App\Console\Commands\Grapper;
use App\Console\Commands\Grapper\Betsapi\Bet365;
use App\Console\Commands\Grapper\Betsapi\Bwin;
use App\Console\Commands\Grapper\Betsapi\ElementIcons;
use App\Console\Commands\Grapper\Betsapi\Fixtures;
use App\Console\Commands\Grapper\Betsapi\Odds;
use App\Console\Commands\Grapper\Betsapi\Willhill;
use App\Console\Commands\Nuh;
use App\Utilities\Notice;
class Betsapi
{
public static function switch()
{
$debug = Nuh::$options['d'] ?? 0;
if ($debug) {
Notice::note(Nuh::$options['provider'].' '.Nuh::$options['name'], 'b');
}
switch (Nuh::$options['name']) {
case 'Fixtures':
Fixtures::grap();
break;
case 'Odds':
Odds::grap();
break;
case 'Willhill':
Willhill::grap();
break;
case 'Bwin':
Bwin::grap();
break;
case 'Bet365':
Bet365::grap();
break;
case 'Element Icons':
ElementIcons::grap();
break;
default:
Notice::note('prosses name does not exist', 'r', 1);
break;
}
}
}