2017 © Pedro Peláez
 

library esports

Get electronic sports data like schedule, team info, etc.

image

b8000h/esports

Get electronic sports data like schedule, team info, etc.

  • Monday, May 28, 2018
  • by b8000h
  • Repository
  • 0 Watchers
  • 0 Stars
  • 3 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

README

This README would normally document whatever steps are necessary to get your application up and running., (*1)

What is this repository for?

How do I get set up?

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
<?php
require 'vendor/autoload.php';

$schedule = new \Demaxiya\Schedule();
/**
 * 0: 全部游戏
 * 1: dota2
 * 2: lol(英雄联盟)
 * 4: csgo(CS:Go)
 * 5: ow(守望先锋)
 * 6: kog(王者荣耀)
 * 7: bob(球球大作战)
 * 8: cod(使命召唤)暂无比赛
 * 9: pubg(绝地求生)暂无比赛
 */
$game_type = 6;    
$schedule_info = json_decode( $schedule->get($game_type,time()) );
//var_dump($schedule_info->data->scheduleList);
$schedule_data = $schedule_info->data;    // 只有 data 部分才是用得上的,值得配一个 symbol

echo $schedule_data->prevtime;
echo $schedule_data->nexttime;
foreach ($schedule_data->scheduleList as $d) {
    //var_dump($d);
    var_dump($d->time);
}
  • Deployment instructions

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

The Versions

28/05 2018

dev-master

9999999-dev https://bitbucket.org/b8000h/esports

Get electronic sports data like schedule, team info, etc.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar b8000h

28/05 2018

1.0.5

1.0.5.0 https://bitbucket.org/b8000h/esports

Get electronic sports data like schedule, team info, etc.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar b8000h

28/05 2018

1.0.4

1.0.4.0 https://bitbucket.org/b8000h/esports

Get electronic sports data like schedule, team info, etc.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar b8000h

25/05 2018

1.0.3

1.0.3.0 https://bitbucket.org/b8000h/esports

Get electronic sports schedule

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar b8000h

24/05 2018

1.0.2

1.0.2.0 https://bitbucket.org/b8000h/esports

Get electronic sports schedule

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar b8000h

24/05 2018

1.0.1

1.0.1.0 https://bitbucket.org/b8000h/esports

Get electronic sports schedule

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar b8000h

23/05 2018

1.0.0

1.0.0.0 https://bitbucket.org/b8000h/esports

Get electronic sports schedule

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar b8000h