https://github.com/skullcarvercoder/wc18-cli
An easy command line interface for the 2018 World Cup
https://github.com/skullcarvercoder/wc18-cli
cli click json-parser python python-3-6 python36 requests simple-data-pipe world-cup-2018 worldcup worldcup2018
Last synced: 6 months ago
JSON representation
An easy command line interface for the 2018 World Cup
- Host: GitHub
- URL: https://github.com/skullcarvercoder/wc18-cli
- Owner: SkullCarverCoder
- Created: 2018-06-15T02:26:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:09:00.000Z (about 3 years ago)
- Last Synced: 2025-08-18T14:56:52.310Z (6 months ago)
- Topics: cli, click, json-parser, python, python-3-6, python36, requests, simple-data-pipe, world-cup-2018, worldcup, worldcup2018
- Language: Python
- Size: 17.6 KB
- Stars: 16
- Watchers: 0
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WC18 CLI
=====
[](https://badge.fury.io/py/wc18-cli)
An easy command line interface for the 2018 World Cup

Install
=====
No need to get an API key! , wc18-cli uses a json file from [lsv fifa-worldcup-2018](https://github.com/lsv/fifa-worldcup-2018) that is updated frecuently
### Using `pip`
wc18-cli is only supported with python 3.6 due to the use of f-strings be aware before pip installing
```bash
$ pip install wc18-cli
```
### Build from source
```bash
$ git clone https://github.com/SkullCarverCoder/wc18-cli.git
$ cd wc18-cli
$ python setup.py install
```
Usage
=====
### Get info of an specific Country and it's soonest match
```bash
$ wc18 --country=germany # germany is the name of the team desired to see stats
```
### Get info of an specific Country plus all the matches
```bash
$ wc18 --country=Argentina --allmatches=True # Argentina is the name of the team desired to see stats
```
### Get info table of a group
```bash
$ wc18 --group=d # groups letter must be in lower case
```
### Get bracket of knockout matches!
```bash
$ wc18 --bracket=True
```
### Help
```bash
$ wc18 --help
```
Todo
====
- [x] Add Group statistics
- [ ] Enable cache
- [ ] Add test cases
- [x] Add knockoff matches logic
- [ ] Add watch for live score scraping from twitter
Feel free to contact me to my email for ideas and to fork this Repo!
Licence
====
Open sourced under [MIT License](LICENSE)