football_cli 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e99fb1569e4b053d97a0fe5e784735f7044ed7f
4
- data.tar.gz: 150f09e3f3dd0cdd84d58f2c2572bf6329c2a57b
3
+ metadata.gz: f33afb8a2254bf849aeffdea577ae05d0adbd93a
4
+ data.tar.gz: 19edea4a4702f35c888a452996bcafcc48540999
5
5
  SHA512:
6
- metadata.gz: 0ebc108a1e1ec1d00201579c2730a005b15900136ca62feb6d06c33e15d535f3bca4f519cf94be5bf0e0c37ada48a60110105f87d72e5189d616a52a5b5f2988
7
- data.tar.gz: adf18ade14634c1594f793a69598b7772add0ff303aed2e3f7d0e427c493fef02cf446009f52ed32977f30bb72eb65c7581c504e20a7cb1d0fac21013789e904
6
+ metadata.gz: e7327f77477acda204126bc37b710fa257ffb2acc4a696a260d0327705c0b91f6441d2eeeac6c0c906aa51bdc3314c09555e4898e0e5a28455a957015d345048
7
+ data.tar.gz: 80fd24912e07646ee475c54f13715abee44b40d1bde8ac7aec3eea34a0e43d77b81a7a47e98687ec8a9be7573597e84ac9f5e210d43c5de755e845c593fa9c0b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- football_cli (0.0.3)
4
+ football_cli (0.0.4)
5
5
  football_ruby
6
6
  gli (= 2.16.0)
7
7
  rainbow
data/README.md ADDED
@@ -0,0 +1,62 @@
1
+ <p align="center">
2
+ <img src="http://i.imgur.com/FLITgqs.jpg">
3
+ </p>
4
+
5
+ # Fottball CLI
6
+
7
+ A command line interface for all the football data feeds in Ruby
8
+
9
+ ## Installation
10
+
11
+ $ gem install football_ruby
12
+
13
+ ## Usage
14
+
15
+ ### Help
16
+ $ football_cli help
17
+ ### Show league table
18
+ $ football_cli show --league=PD
19
+ ### Show league table for a given day
20
+ $ football_cli show --league=PD --match_day=1
21
+ ### Show team players
22
+ $ football_cli show --team=FCB --players
23
+ ### Show team fixtures
24
+ $ football_cli show --team=FCB --fixtures
25
+ ### Show the output in csv or json
26
+ $ football_cli show --league=PD --format=json
27
+ $ football_cli show --league=PD --format=csv
28
+ ### Save the output in a file
29
+ $ football_cli show --league=PD --format=json --file=leagues.json
30
+ $ football_cli show --league=PD --format=csv --file=leagues.csv
31
+ ### Show live scores
32
+ $ football_cli live
33
+
34
+ ## Demo
35
+
36
+ ### League table
37
+ <p align="center">
38
+ <img src="http://i.imgur.com/E2us9uS.png">
39
+ </p>
40
+
41
+ ### League table for a given day
42
+ <p align="center">
43
+ <img src="http://i.imgur.com/9mlj2b9.png">
44
+ </p>
45
+
46
+ ### Team players
47
+ <p align="center">
48
+ <img src="http://i.imgur.com/uS4s9D8.png">
49
+ </p>
50
+
51
+ ### Live scores
52
+ <p align="center">
53
+ <img src="http://i.imgur.com/102utJf.png">
54
+ </p>
55
+
56
+ ## Todo
57
+
58
+ 1. Make api_token configurable
59
+ 2. Improve error handling
60
+ 3. Add more cucumber features
61
+ 4. And more ...
62
+
@@ -1,3 +1,3 @@
1
1
  module FootballCli
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: football_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Said Kaldybaev
@@ -106,7 +106,7 @@ files:
106
106
  - ".ruby-version"
107
107
  - Gemfile
108
108
  - Gemfile.lock
109
- - README.MD
109
+ - README.md
110
110
  - Rakefile
111
111
  - bin/football_cli
112
112
  - config/leagues.json
data/README.MD DELETED
@@ -1,49 +0,0 @@
1
- <p align="center">
2
- <img src="http://i.imgur.com/FLITgqs.jpg">
3
- </p>
4
-
5
- # Fottball CLI
6
-
7
- A command line interface for all the football data feeds in Ruby
8
-
9
- ## Installation
10
-
11
- $ gem install football_ruby
12
-
13
- ## Usage
14
-
15
- ### Help
16
- $ bundle exec bin/football_cli help
17
- ### Show league table
18
- $ bundle exec bin/football_cli show --league=PD
19
- ### Show league table for a given day
20
- $ bundle exec bin/football_cli show --league=PD --match_day=1
21
- ### Show team players
22
- $ bundle exec bin/football_cli show --team=FCB --players
23
- ### Show team fixtures
24
- $ bundle exec bin/football_cli show --team=FCB --fixtures
25
- ### Show the output in csv or json
26
- $ bundle exec bin/football_cli show --league=PD --format=json
27
- $ bundle exec bin/football_cli show --league=PD --format=csv
28
- ### Save the output in a file
29
- $ bundle exec bin/football_cli show --league=PD --format=json --file=leagues.json
30
- $ bundle exec bin/football_cli show --league=PD --format=csv --file=leagues.csv
31
- ### Show live scores
32
- $ bundle exec bin/football_cli live
33
-
34
- ## Demo
35
-
36
- ### League table
37
- ![](http://i.imgur.com/lsxa1Zw.png)
38
- ### League table for a given day
39
- ![](http://i.imgur.com/PnMVy1o.png)
40
- ### Team players
41
- ![](http://i.imgur.com/SUthQEx.png)
42
-
43
- ## Todo
44
-
45
- 1. Make api_token configurable
46
- 2. Improve error handling
47
- 3. Add more cucumber features
48
- 4. And more ...
49
-