Skip to content

Blazingly fast app that searches your lol game history for a shared game with another player, built with rust

Notifications You must be signed in to change notification settings

domahet/playedtogether

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlayedTogether

From patch 25.10 players have been getting tons of instant feedback notifications about punished players from their recent games with no easy way to check who that was or from which game. Or maybe you've seen a familiar Riot ID and can only wonder if you have ever played together with this guy before or you're just misremembering. That is until now.

This little utility named ptg has been created with exactly these use-cases in mind. Currently it is CLI only, but in the future this might change

Prerequisites

You need to refresh a Development API Key every 24 hours. There are two ways to make this accessible to ptg:

#option 1: use the ptg CLI directly:
ptg --api-key your_api_key_here

#option 2: set it as an environment variable in your preferred shell:
#windows cmd
set RGAPI_KEY=your_api_key_here

#windows powershell
$env:RGAPI_KEY="your_api_key_here"

#bash and zsh
export RGAPI_KEY="your_api_key_here"

#fish
set -x RGAPI_KEY "your_api_key_here"

Install

Crates.io

With Rust (version 1.87.0 or higher) installed you can install the package straight from crates.io using cargo:

cargo install --locked ptg

Prebuilt binaries

Alternatively you can head over to the Releases section and grab your .exe that the smelly nerds usually don't provide.

Usage

You can easily look up two players with a command like this:

ptg <Player1#GameTag> <Player2#GameTag> --region <REGION>

Since you almost always want to check another player and yourself, and most of the time you only will use a single region, both of these can be set as default, and from then on none of them need to be provided if not needed:

ptg --self <YourInGameName#YourGameTag>
ptg --default-region <Region>
ptg <Player2#GameTag>

For a more detailed overview of the available options, consult the --help flag, or run the utility withouth any flags or arguments:

ptg
ptg --help

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Blazingly fast app that searches your lol game history for a shared game with another player, built with rust

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages