logifuture with proxy wip
This commit is contained in:
1 parent
a96abae35a
commit
2e57e49f08
19 files changed
+196
-77
No files matched your search
@@ -128,10 +128,10 @@ class Odds
|
||||
$_calls[] = $url."&ot=$markets&peid=".$id;
|
||||
}
|
||||
} elseif (Nuh::$options['g']) {
|
||||
// by groups
|
||||
$res = Event::where('starttime', '>', Carbon::now()->toDateTimeString())->where('starttime', '<', Carbon::now()->addDays(1)->toDateTimeString())->groupBy('group_id')->pluck('group_id');
|
||||
foreach ($res as $id) {
|
||||
$_calls[] = $url."&ot=$markets&pgid=".$id;
|
||||
// one week per group names (mybee fastes)
|
||||
$groupids = Event::where('starttime', '>', Carbon::now()->toDateTimeString())->groupBy('group_id')->pluck('group_id');
|
||||
foreach ($groupids as $groupid) {
|
||||
$_calls[] = $url = 'https://xml2.txodds.com/feed/odds/xml.php?'.Nuh::$AUTHTOKEN.'&all_odds=2&ot='.$markets.'&days=0,7&pgid='.$groupid;
|
||||
}
|
||||
} elseif (Nuh::$options['b']) {
|
||||
// one day
|
||||
|
||||
Reference in new issue
Block a user