Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bileljegham/api-sport-cli

Cli for https://api-sports.io/ Retreive data and convert to sql file
https://github.com/bileljegham/api-sport-cli

cli data database match nodejs sports sports-analytics

Last synced: about 2 months ago
JSON representation

Cli for https://api-sports.io/ Retreive data and convert to sql file

Awesome Lists containing this project

README

        

API SPORT
===

> A cli tool for https://api-sports.io/
> Retreive data and convert to sql file

## Install
```bash
# NPX
npx api-sport-cli
# or install globally
npm -g api-sport-cli

```

## Usage
You must define environnment variable `SPORT_API_KEY`, before use cli. [Get your api key](https://dashboard.api-football.com/)

```
export SPORT_API_KEY=XXXX
```

```
api-sport [args]

Commands :
api-sport get-matchs Fetch matches from sport API

Options :
--version [boolean]
--help [boolean]

Made with ❤️ by BilelJegham
```

## Development

```bash
# Install & link dev s
npm install
npm link .

# Build & launch
npm run build && api-sport

# uninstall (unlink)
npm unlink .
```