erjiang / valorant-mmr

Get your Valorant MMR with this Python script
MIT License
1 stars 0 forks source link

Is there any way to show only the 3 latest matches or just the latest? #1

Open aolmospersonal opened 3 years ago

aolmospersonal commented 3 years ago

Is there any way to show only the 3 latest matches or just the latest?

Thanks

erjiang commented 3 years ago

That functionality is not built-in right now, but I just pushed a change to let you use head:

To show last 3 matches (Mac/Linux): python3 valorant_mmr3.py | head -n 5

To show last 3 matches (Windows Powershell): python3 valorant_mmr3.py | Select -First 5

I'll leave this bug open in case someone wants to add built-in support for this.

aolmospersonal commented 3 years ago

All right thanks!

Anyways I'll try to figure out how to get only the last three matches Im trying to implement this script as a Telegram Bot for easy use while I am at a match and it is working but with all the match history and that are a lot of messages.

PD: Im just a beginner whose knowledge is based on finding in internet hours and hours sorry