Hello,
I have some elementary code for RiotSharp beginners, kindly provided by Jan Ouborny a couple of years back. I setup VS project, RiotSharp, etc and got it to work back then.
I went into the project today and tried running it and get a 403 on
var matchListOfSummoner = riotApi.Match.GetMatchListAsync(RiotSharp.Misc.Region.Na, summoner.AccountId, null, null, null, null, null, null, numberOfMatches).Result;
Since I generated new API Key and GetSummonerByNameAsync works OK, I presume API Key is not the problem.
- Did the RiotSharp wrapper change? I see Riot deprecated the MATCH-V4 for MATCH-V5 and think maybe that could have affected the call parameters. I’ve also seen some code in GitHub discussions calling GetMatchList by PUUID instead of AccountID.
- What is the latest RiotSharp version I should be using? I am using 4.0.0 according to VS, but have seen some mention of a new 5 version in GitHub. Although, GitHub also says latest version is 2.5.5 on Apr 12, 2017. 🙂
- I downloaded the zip file with files from 11/08/21, but I really couldn’t find a version number within files I checked. Should I manually install this one?
Thanks,
Iván Torres
PS: Sorry for not knowing certain things about GitHub, nomenclature, etc. Most programming I’ve done predates their existence. I joined GitHub for RiotSharp and I’m figuring out its correct use in Visual Studio.
Hello,
I have some elementary code for RiotSharp beginners, kindly provided by Jan Ouborny a couple of years back. I setup VS project, RiotSharp, etc and got it to work back then.
I went into the project today and tried running it and get a 403 on
var matchListOfSummoner = riotApi.Match.GetMatchListAsync(RiotSharp.Misc.Region.Na, summoner.AccountId, null, null, null, null, null, null, numberOfMatches).Result;
Since I generated new API Key and GetSummonerByNameAsync works OK, I presume API Key is not the problem.
Thanks,
Iván Torres
PS: Sorry for not knowing certain things about GitHub, nomenclature, etc. Most programming I’ve done predates their existence. I joined GitHub for RiotSharp and I’m figuring out its correct use in Visual Studio.