Presentation
A simple CLI tool to display League of Legends data in a neofetch-like style. The tool features different display modes and different configuration options to customize the output.
The tool relies on the riven library to fetch data from the League of Legends API.
It requires a test Riot Games API key to work.
Example
➜ RIOT_API_KEY=<API_KEY> lolfetch display ranked "hide on bush#KR1" KR
%*+*% %*+% Summoner: hide on bush#KR1
*--+ %;:;* Rank: GRANDMASTER - 1066 LP
+--+ ;--*
+;--+ +-;;* Match History
S%*%%-;-;*+ *+*--;;% %%S -----
+;-*+--;+;;% S*;++;--**-;* 23:34 - W - MID - Ziggs - 3/2/8 - 5.5 KDA - 8.1 CS/M - GD@15: +803
+;:-*+--+%;-+ %;-+%+--**--; 27:50 - L - MID - Yone - 2/7/4 - 0.9 KDA - 8.4 CS/M - GD@15: -943
+;-;;;:-%$%;+*+;; -* -;++*++%$*:-;;--; 30:45 - W - MID - Tristana - 7/4/5 - 3.0 KDA - 9.1 CS/M - GD@15: -583
++-:---++*%;++++;*+-;*;-*+;+++++%*+;--::-++ 15:14 - W - MID - Smolder - 3/0/1 - PERFECT - 10.0 CS/M - GD@15: +1988
+**;--;;;*+-+*%S;*+;;;*++S%*+-**;;;-;;** 26:52 - L - MID - Smolder - 4/6/4 - 1.3 KDA - 9.4 CS/M - GD@15: -179
+;;-;*;;-;%S$S+**++--SSS*;-;;*;;;;*
;:+;-:::+*%SSS*+*-+SSS%*;:::-++:; Champion Stats (last 10 games)
+-;%*+--:-;*+%#%;%$***;-:--+%%-; -----
;-;+*;--::;++$SS++;::--+*+--+ Aurelion Sol - 33% WR - 2.2 KDA - 8.0 CS/M - 3 Played
+-::---;;-;;*$+;--;;---::- Smolder - 50% WR - 2.0 KDA - 9.6 CS/M - 2 Played
+++;-;;;++%+;;;;-;+++ Yone - 50% WR - 1.9 KDA - 8.0 CS/M - 2 Played
--;;-;;-; Ziggs - 100% WR - 5.5 KDA - 8.1 CS/M - 1 Played
- ;- Nasus - 0% WR - 0.6 KDA - 7.2 CS/M - 1 Played