1.0.22 • Published 1 year ago

football-client v1.0.22

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Football CLI

A command-line tool for checking football scores, fixtures and standings.

Football data is sourced from https://www.football-data.org/, and a free account is required. You can enter your unique API token straight from the command-line during the first run, or set it as an environment variable in X_AUTH_TOKEN in a .env file at the root of the project.

Getting Started

The script can be run directly using npx:

npx football-client

Installation

Alternatively, clone the project to your local machine with:

git clone https://github.com/tom-draper/football-client.git

Install dependencies with:

npm install

And then run using:

node main

Arguments

The main menu can be skipped by passing the target page name (standings, fixtures, upcoming or scorers) as a command-line argument.

npx football-client standings

If a target page has been specified, the competition can also be provided using the --comp flag followed by a competition name (premier-league, championship, la-liga, serie-a, ligue-1 or bundesliga). If none specified, the premier-league is used as default.

npx football-client standings --comp la-liga

npx football-client fixtures --comp bundesliga

npx football-client scorers --comp serie-a
1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago