A cli tool for https://api-sports.io/ Retreive data and convert to sql file
# NPX
npx api-sport-cli
# or install globally
npm -g api-sport-cli
You must define environnment variable SPORT_API_KEY
, before use cli. Get your api key
export SPORT_API_KEY=XXXX
api-sport <cmd> [args]
Commands :
api-sport get-matchs Fetch matches from sport API
Options :
--version [boolean]
--help [boolean]
Made with ❤️ by BilelJegham
# Install & link dev s
npm install
npm link .
# Build & launch
npm run build && api-sport
# uninstall (unlink)
npm unlink .