Git Product home page Git Product logo

sports_events's Introduction

SportsEvents

The gem help you query sports events simply

Installation

Add this line to your application's Gemfile:

gem 'sports_events'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sports_events

Usage

irb> require "sports_events"
true
irb> detail = SportsEvents.query("12")
irb> detail.info
23:00 英超第16轮 切尔西 - 赫尔城 上海体育    乐视    PPTV 手机看直播  比分直播
23:00 英超第16轮 莱切斯特城 - 曼城 乐视    PPTV 手机看直播  比分直播 
23:00 英超第16轮 伯恩利 - 南安普顿 等待更新 手机看直播  比分直播
            ……
            ……
irb> detail.xijia
23:00 西甲第15轮 赫塔菲 - 巴塞罗那 CCTV5直播    新浪    QQ    乐视    PPTV  手机看直播 文字直播 比分直播
            ……
            ……
irb> detail.yingchao
23:00 英超第16轮 切尔西 - 赫尔城 上海体育    乐视    PPTV  手机看直播 文字直播 比分直播
23:00 英超第16轮 莱切斯特城 - 曼城 乐视    PPTV  手机看直播 文字直播 比分直播 
23:00 英超第16轮 伯恩利 - 南安普顿 无插件直播  手机看直播 文字直播 比分直播
            ……
            ……
irb> detail.dejia
22:30 德甲第15轮 奥格斯堡 - 拜仁慕尼黑 CCTV5+    PPTV直播  手机看直播 文字直播 比分直播 
22:30 德甲第15轮 柏林赫塔 - 多特蒙德 广体    QQ    乐视    PPTV  手机看直播 文字直播 比分直播
22:30 德甲第15轮 沙尔克04 - 科隆 无插件直播  手机看直播 文字直播 比分直播
            ……
            ……
irb> detail.yijia
03:45 意甲第15轮 拉齐奥 - 亚特兰大 无插件直播  手机看直播 文字直播 比分直播 
19:30 意甲第15轮 尤文图斯 - 桑普 新浪    QQ    乐视    PPTV 手机看直播  比分直播
22:00 意甲第15轮 热那亚 - 罗马 CCTV5+ 手机看直播  比分直播 
            ……
            ……
irb> detail.fajia
00:00 法甲第18轮 甘冈 - 巴黎圣日耳曼   乐视直播 手机看直播  比分直播
00:00 法甲第18轮 里尔 - 图卢兹  手机看直播  比分直播 
04:00 法甲第18轮 摩纳哥 - 马赛 等待更新 手机看直播  比分直播
            ……
            ……

Contributing

  1. Fork it ( https://github.com/jyootai/sports_events/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

sports_events's People

Contributors

jyootai avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.