Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

leagueoflegends

lukealsaba256MIT4.0.1

League of Legends CLI.

league of legends, lol, riot games, esports, cli, worlds, lcs, lec, lck, lpl

readme

League of Legends Command-Line Interface

Known Vulnerabilities

Check out current LoL Esports standings and the current weeks matches all in your console!

This CLI tool is for those who are both LoL fans and Software Engineers.

All data comes from the LoL Esports website.

Disclaimer

This product is not endorsed, certified or otherwise approved in any way by Riot Games, Inc. or any of its affiliates.

Install

In order to use the League of Legends CLI, make sure that you have Node version 6.0.0 or higher.

$ npm install -g leagueoflegends

Usage

leagueoflegends provides two main commands.

Options

  • League of Legends World Championship (Worlds)
    • --worlds or -w
  • LoL Championship Series (LCS)
    • --lcs or -n
  • LoL European Championship (LEC)
    • --lec or -e
  • LoL Champions Korea (LCK)
    • --lck or -k
  • Tencent LoL Pro League (LPL)
    • --lpl or -p
  • LoL Championship Series Academy (LCS Academy)
    • --lcsacademy or -a

Matches

Get a list of this weeks matches for any of the 5 premier LoL leagues.

$ leagueoflegends matches --lec

leagueoflegends matches (example)

Standings

Get the current standings for any of the 5 premier LoL leagues.

$ leagueoflegends standings --lec

leagueoflegends standings (example)

Inspired by:

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

4.0.1 - 2021-1-27

Changed

  • Update all dependencies
  • Code readability improvements

4.0.0 - 2020-10-01

Added

  • Add support for the League of Legends World Championship
  • Add update notifications
  • Add new test cases for getDate function

Changed

  • Require Node.js 10
  • Update all packages
  • Rename Changelog.md to CHANGELOG.md
  • Add an unreleased section to CHANGELOG.md
  • Change example images in README.md
  • Code readability improvements
  • Underline winning team instead of displaying star symbol
  • Fix typo in README.md

3.4.4 - 2020-08-23

Changed

  • Fix issue with date header not displaying for first match of the week.