Bundesliga results and stats for hackers
Project description
# bundesliga-cli
Bundesliga results and stats for hackers.
![](http://sebastianruml.name/images/projects/bundesliga-cli/buli-matchday.png)
![](http://sebastianruml.name/images/projects/bundesliga-cli/buli-table.png)
## Overview
`bundesliga-cli` is a CLI tool that provides access to Bundesliga results
and stats.
Uses openligadb-json-api.heroku.com API which is itself a JSON wrapper
around the OpenligaDB API (http://www.openligadb.de).
## Features
* Get results for a specific matchday
* Get results for different leagues (e.g. 1. Bundesliga, 2. Bundesliga, etc.)
* List the league table
* List all teams
## Installation
### Using pip
To install bundesliga-cli:
$ sudo pip install bundesliga-cli
### From source
First, get the latest source code:
$ git clone https://github.com/hypebeast/bundesliga-cli.git
Install it:
$ cd bundesliga-cli
$ python setup.py install
## Usage
To list all available options:
$ buli --help
To list the results for the next/current matchday for the 1. Bundesliga:
$ buli next
To list the results for the next/current matchday for the 2. Bundesliga:
$ buli next -l bl2
More examples are coming soon!
## CLI Options
```
Usage: buli [OPTIONS] COMMAND [ARGS]...
Bundesliga results and stats for hackers.
bundesliga-cli is a CLI tool that provides access to Bundesliga results
and stats.
Uses openligadb-json-api.heroku.com API which is itself a JSON wrapper
around the OpenligaDB API (http://www.openligadb.de).
Options:
--help Show this message and exit.
Commands:
last Shows the match results for the last...
leagues Shows all available soccer leagues.
matchday Match results for the given matchday.
next Shows the match results for the next/current...
table Shows the league table.
teams Shows the teams for a league and season.
```
## Setup a development environment
First, get the latest source code:
$ git clone https://github.com/hypebeast/bundesliga-cli.git
Install dependencies:
$ cd bundesliga-cli
$ make env
Run bundesliga-cli:
$ python bin/buli --help
## Contributions
* Fork repository
* Create feature- or bugfix-branch
* Create pull request
* Use Github Issues
## Contact
* Sebastian Ruml, <sebastian@sebastianruml.name>
* Twitter: https://twitter.com/dar4_schneider
## License
```
The MIT License (MIT)
Copyright (c) 2014 Sebastian Ruml
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
Bundesliga results and stats for hackers.
![](http://sebastianruml.name/images/projects/bundesliga-cli/buli-matchday.png)
![](http://sebastianruml.name/images/projects/bundesliga-cli/buli-table.png)
## Overview
`bundesliga-cli` is a CLI tool that provides access to Bundesliga results
and stats.
Uses openligadb-json-api.heroku.com API which is itself a JSON wrapper
around the OpenligaDB API (http://www.openligadb.de).
## Features
* Get results for a specific matchday
* Get results for different leagues (e.g. 1. Bundesliga, 2. Bundesliga, etc.)
* List the league table
* List all teams
## Installation
### Using pip
To install bundesliga-cli:
$ sudo pip install bundesliga-cli
### From source
First, get the latest source code:
$ git clone https://github.com/hypebeast/bundesliga-cli.git
Install it:
$ cd bundesliga-cli
$ python setup.py install
## Usage
To list all available options:
$ buli --help
To list the results for the next/current matchday for the 1. Bundesliga:
$ buli next
To list the results for the next/current matchday for the 2. Bundesliga:
$ buli next -l bl2
More examples are coming soon!
## CLI Options
```
Usage: buli [OPTIONS] COMMAND [ARGS]...
Bundesliga results and stats for hackers.
bundesliga-cli is a CLI tool that provides access to Bundesliga results
and stats.
Uses openligadb-json-api.heroku.com API which is itself a JSON wrapper
around the OpenligaDB API (http://www.openligadb.de).
Options:
--help Show this message and exit.
Commands:
last Shows the match results for the last...
leagues Shows all available soccer leagues.
matchday Match results for the given matchday.
next Shows the match results for the next/current...
table Shows the league table.
teams Shows the teams for a league and season.
```
## Setup a development environment
First, get the latest source code:
$ git clone https://github.com/hypebeast/bundesliga-cli.git
Install dependencies:
$ cd bundesliga-cli
$ make env
Run bundesliga-cli:
$ python bin/buli --help
## Contributions
* Fork repository
* Create feature- or bugfix-branch
* Create pull request
* Use Github Issues
## Contact
* Sebastian Ruml, <sebastian@sebastianruml.name>
* Twitter: https://twitter.com/dar4_schneider
## License
```
The MIT License (MIT)
Copyright (c) 2014 Sebastian Ruml
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bundesliga-cli-0.2.1.tar.gz
(7.2 kB
view details)
File details
Details for the file bundesliga-cli-0.2.1.tar.gz
.
File metadata
- Download URL: bundesliga-cli-0.2.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0857c65b1cbc004d07e5b44582ef9a5e3d1658afb3ce643460f377baa6144854 |
|
MD5 | dcce10c2c09c6e2bd2d0b400054ad136 |
|
BLAKE2b-256 | b2bbcb389e04b286a8137a6871e9d454b5af6ddfdcdb25e5c8d67f00e60ee7d2 |