Metadata-Version: 2.1
Name: leaguedaily
Version: 1.0.1
Summary: League of Legends Esports results from your terminal!
Author: Hieu Vuong
Author-email: hieuvuong.cs@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: certifi (==2022.12.7)
Requires-Dist: charset-normalizer (==3.1.0)
Requires-Dist: click (==8.1.3)
Requires-Dist: colorama (==0.4.6)
Requires-Dist: commonmark (==0.9.1)
Requires-Dist: idna (==3.4)
Requires-Dist: mwclient (==0.10.1)
Requires-Dist: oauthlib (==3.2.2)
Requires-Dist: pygments (==2.14.0)
Requires-Dist: pytz (==2022.7.1)
Requires-Dist: pytz-deprecation-shim (==0.1.0.post0)
Requires-Dist: requests (==2.28.2)
Requires-Dist: requests-oauthlib (==1.3.1)
Requires-Dist: rich (==12.6.0)
Requires-Dist: shellingham (==1.5.0.post1)
Requires-Dist: six (==1.16.0)
Requires-Dist: typer (==0.7.0)
Requires-Dist: tzdata (==2022.7)
Requires-Dist: tzlocal (==4.2)
Requires-Dist: urllib3 (==1.26.15)
Description-Content-Type: text/markdown

# LeagueDaily

Leauge of Legends Esports update straight from the terminal!

Now you can stay up-to-date with your favorite LoL teams/leagues despite your busy schedule.
# Install

requirement: `python3 >= 3.10`


`pip install leaguedaily`

# Usage

By default, `leaguedaily` without any arguments will show League of Legends Esports result from the previous day.

![Screenshot from 2023-04-20 07-43-17](https://user-images.githubusercontent.com/60205090/233401825-ff74f03d-7e29-4fc0-ad0c-9f1fb5639e72.png)

You can also specify dates in the format of `YYYY-MM-DD` as an argument to the program.

![Screenshot from 2023-04-20 07-41-48](https://user-images.githubusercontent.com/60205090/233401471-2f539f98-7a97-4dcc-a5a1-5a292ff9d77d.png)


`--team` flag can be used to specify one or more teams in addition to the given date argument.

![Screenshot from 2023-04-20 07-45-08](https://user-images.githubusercontent.com/60205090/233402355-e9d1c5ce-2a57-47a3-bfcd-23bf0bb4cf02.png)


`--league` flag can be used to limit the results to only the given leagues.

![Screenshot from 2023-04-20 07-46-33](https://user-images.githubusercontent.com/60205090/233402764-f5ec7044-8899-4bc1-a7c6-2b442acddb5d.png)

# Known problems

1. Data is pulled from leaguepedia, so there is a limit as to how much data a normal user can pull. As a result, given a too-far-away-from-present date, program's result could be truncated or incorrect.
2. A BO3 series could be in the same day in local time, but in UTC (default time when pulled from API), 2 matches are on the same day and 1 match is on the next day (past midnight UTC time, but still the same day local time). 

Given the goal of this project (daily update for some busy fans), I decide not to address these problems. The program works consistently enough for what it is created for.

Cheers! 🎆 

