Skip to content

SkullCarverCoder/wc18-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WC18 CLI

PyPI version

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 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

$ pip install wc18-cli

Build from source

$ 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

$ wc18 --country=germany # germany is the name of the team desired to see stats

Get info of an specific Country plus all the matches

$ wc18 --country=Argentina --allmatches=True # Argentina is the name of the team desired to see stats

Get info table of a group

$ wc18 --group=d # groups letter must be in lower case

Get bracket of knockout matches!

$ wc18 --bracket=True

Help

$ wc18 --help

Todo

  • Add Group statistics
  • Enable cache
  • Add test cases
  • 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