Skip to content

Marwan01/leagueoflegends-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

league-cli

Command line interface for League of Legends Players. Can be used to look up champions and their counters.

Usage

This is an interactive shell program. Use numeric commands and then the enter key to interact with the CLI. If pick option 1 you can get the most updated list of all the champions with their numeric ids. If you use option 2 you can enter either the champion's name (no spaces, no special chars) or the champion's numeric equivalent from the list in option 1. Any other keys followed by enter will terminate the program.

Demo

demoscreenshot

Getting Started

To run this program, follow these commands

git clone https://github.com/Marwan01/league-cli.git
cd league-cli
npm install
npm start

Prerequisites

To run this program, you will need to have nodeJS installed.

Running the tests

To run the tests, use npm test

Built With

  • NodeJS - JavaScript runtime
  • Puppeteer - Used for web scraping and accessing the latest champion data from the web
  • Shell - Used to run interactive mode using different node scripts

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Marouen Helali - Initial work - Marwan01

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Puppeteer is BEAST