Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bileljegham/api-sport-cli
- Owner: BilelJegham
- Created: 2023-05-30T19:38:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-24T11:44:23.000Z (over 1 year ago)
- Last Synced: 2024-11-10T00:08:49.622Z (about 2 months ago)
- Topics: cli, data, database, match, nodejs, sports, sports-analytics
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/api-sport-cli
- Size: 112 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 APIOptions :
--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 .
```