I haven't forked yet the project, I am currently using it throught Nuget Packages.
And under the 3.0.1 version, which is last stable one.
Notice that I don't have any problem with the main Riot API.
But with the following code :
var staticApi = StaticRiotApi.GetInstance(RIOT_API_KEY);
var champions = staticApi.GetChampions(Region.euw, ChampionData.All)?.Champions?.Values;
I have a 403 Forbidden error while I have a valid one day api key.
Then inspecting the staticApi instance, I realize :
RiotSharp.StaticRiotApi.StaticDataRootUrl = "/lol/static-data/v3/"
I suppose forking the project, under some branche, the problem is fully resolved.
I haven't forked yet the project, I am currently using it throught Nuget Packages. And under the 3.0.1 version, which is last stable one.
Notice that I don't have any problem with the main Riot API.
But with the following code :
I have a 403 Forbidden error while I have a valid one day api key. Then inspecting the staticApi instance, I realize : RiotSharp.StaticRiotApi.StaticDataRootUrl = "/lol/static-data/v3/"
I suppose forking the project, under some branche, the problem is fully resolved.