Pyke 0.2.0

dotnet add package Pyke --version 0.2.0                
NuGet\Install-Package Pyke -Version 0.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pyke" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pyke --version 0.2.0                
#r "nuget: Pyke, 0.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Pyke as a Cake Addin
#addin nuget:?package=Pyke&version=0.2.0

// Install Pyke as a Cake Tool
#tool nuget:?package=Pyke&version=0.2.0                


Pyke Nuget Nuget Prerelease CodeFactor

A C# Library for interacting with the League of Legends Client LCU.



Download from Nuget

Github Releases

Download from Github

Usage Example

This example shows how to hook GameglowState Changes, which we can use to detect if we are in matchmaking, champ select, post-game summary, etc...

    class Program
        private static LeagueAPI API;
        static void Main(string[] args)
            API = new LeagueAPI().ConnectAsync().GetAwaiter().GetResult();

            API.Events.GameflowStateChanged += Events_GameflowStateChanged;

        private static void Events_GameflowStateChanged(object sender, State e)
            Console.WriteLine("State Changed: " + e.ToString());


  • = Completed
  • = Planned

Champ Select

  • Get All Champions
  • Get Pickable Champions
  • Get Bannable Champions
  • Get Current Champ Select Session
  • Select & Lock in a Champion
  • Set Champ Select Session Action
  • Get Active Trades (And trade by id)
  • Accept/Decline/Request/Cancel a trade
  • Get Friendly, Enemey, and full team compositions
  • Get list of Pickable Skins (by id)
  • Select Summoner Spells
  • Select Skin
  • Select Ward Skin
  • Ban Champion


  • Accept/Decline Match
  • Get Ready Check Info
  • Cancel Queue
  • Select MatchMaking settings (gamemode, map, mode)
  • Create Lobby
  • Search For Match

Client Info

  • Get Client Version
  • Get IO / Running Process Info


  • GameflowStateChanged (Fired when switching between Lobby, Matchmaking, Champ Select, In Game, PostGame Summary, "none")
  • OnMatchFound
  • SelectedChampionChanged (Fired when you hover a new champion in champ select, or lock in a champion)
  • ChampionTradeRecieved (Fired whenever ANY changes occur within the trading system. Including: a new trade available, a trade has been requested, a trade has been declined/accepted)
  • OnChampSelectTurnToPick (Fired whenever it is your turn to pick or ban a champion. Event passes PickType which specifies if it is your turn to pick or ban)
  • OnSessionUpdated (Fired whenever anything changes during champ select, including the timer. It is reccomended you don't put anything too resource intensive inside this event as it fires very often)
  • OnSummonerSelectedChampion (Event passes SummonerSelection which contains summoner info (such as their team, name, summoner spells), and selection info (Such as champion, pick or ban))
  • A bunch of Direct Message Events
  • Friend Request Events
  • On Login/Logout
  • Literally so many more


  • Get Session Info
  • Login/Logout
  • Get Current Summoner Info

Libraries Used

Pyke was made possible using the following libraries

  • LCU-Sharp
  • Json.NET
  • websocketsharp
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 1,041 9/18/2020
0.1.1 757 9/4/2020
0.1.0 788 9/1/2020