-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to Getting Matches by SummoneriD? (MATCH-V4 Deprecation?) #706
Comments
Version 5 Alpha is a newer Version. |
Thanks. I'll look into branching and building...but since I'm not too familiar with this it would be kind of uphill for me. Can I presume enough number of people use RiotSharp that there will exist a new installable package released for 5.0.0? Sometime in the near future?😬 I'll look into your solution to see if I can make sense of what I need to do, but I think I may have to wait for an official easy-install package. |
Sorry for autocompletion, was answering from phone^^
|
Ok. Thanks for the help and links. I've managed to add 5.0.13 library and started debugging sample code I have. The NuGet for your 5.0.13 appeared in VS to add to solution. I don't know if it pulled it from online repo or local directory where I unzipped, but I'll look for that answer later. I had errors I traced to changes on v5.0, Regions from NA to Americas, changes in structure of Match Info... Couldn't see API Documentation in Riot Dev Portal about changes from v4 to v5 that needed changing our code. So, went into library code, debugged and figured it out the hard way. Have retrieved Summoner, MatchList, Match... The next part is accessing stats for the Match Participants, which I believe have changes in structure, too. The next couple of lines I'll tackle later because I need to research and understand the syntax to really know what they do.
I presume the call changes to using puuid, the Participant structure changes. And "=>", lambda expression? Will have to research. But I'm moving. I have some general questions about redundant API data querying vs storing history, etc. I will have to ask later what you guys do when I get to that point. Thanks. |
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.
The text was updated successfully, but these errors were encountered: