eper 0.0.30 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -2
- data/lib/eper/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b2e753192c7f76d7f6d087b6c7990e9aa81b8ef288bca075d5ed390565a07c7
|
|
4
|
+
data.tar.gz: 28d4647c28c0857b59a1d3f79a71fe16b88b70b9767054a68d3e65c2188a73e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9803c17b4c2f599fd2562d29a6446e5f1497d7a18284ed1a770f3479a4a44a3a3053b384664e9ca8ead15bfc8b951b268bfcb436aa2ef5cee34c41ea0cc604d2
|
|
7
|
+
data.tar.gz: 5c152ceef36504f217f6fa54f0007d4a24bf18aaa0a6cf8ed7c9f2a0aa0301293ffbd62a2ade8f74eee2c272535198d8128bb4d4827a918c5f124a58d462866a
|
data/README.md
CHANGED
|
@@ -20,12 +20,19 @@ Or install it yourself as:
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
1.
|
|
24
|
-
|
|
23
|
+
1. add your api_key as environment variable:
|
|
24
|
+
``` ruby
|
|
25
|
+
$ export football_data_api_key=YourAPIkeywillcomehere1234567890
|
|
26
|
+
```
|
|
27
|
+
2.
|
|
28
|
+
Eper.connect(id)
|
|
29
|
+
|
|
30
|
+
where id is league id, check football-data.org API documentation.
|
|
25
31
|
|
|
26
32
|
## TODO
|
|
27
33
|
- optimize code
|
|
28
34
|
- add more options(e.g. teams, players, matches)
|
|
35
|
+
- write tests
|
|
29
36
|
|
|
30
37
|
|
|
31
38
|
## Contributing
|
data/lib/eper/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Szabolcs Toth
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|