Skip to content
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

MATCH-V4 being deprecated on June 14th --> migrate to V5 #684

Open
selmaohneh opened this issue May 14, 2021 · 11 comments
Open

MATCH-V4 being deprecated on June 14th --> migrate to V5 #684

selmaohneh opened this issue May 14, 2021 · 11 comments

Comments

@selmaohneh
Copy link
Contributor

The MATCH-V4 endpoint will be deprecated on June 14th, see here:

https://developer.riotgames.com/apis#match-v4

What's the plan for migrating to V5? How and when will this happen?

@BenFradet
Copy link
Owner

Hello, the plan is: someone needs to write support for the v5 api

@xXLAOKOONXx
Copy link
Contributor

xXLAOKOONXx commented May 18, 2021

Heyho,
I had the time to write support for v5 API: https://github.com/xXLaokoonXx/RiotSharp/commit/dc14f21f27e2d08109fc565e1eb885d5e5380d8a

But I am not sure about the dependencies inside the project.
The TournamentRiotApi uses some of the models I modified for Match-V5:

public async Task<MatchDetail> GetTournamentMatchAsync(Region region, long matchId, string tournamentCode,

I am not into the tournament apis at all, so I have little to no knowldege on whether those sections are actually supported right now or not. And it seems I am not able to do proper requests to test either. How should we proceed?

EDIT: I did not touch the testing at all.

@BenFradet
Copy link
Owner

can we have different models for now?

@xXLAOKOONXx
Copy link
Contributor

Alright, I will copy all the old match models into the tournament endpoint.
Additionally I just realized the timeline model changed as well, i ll start on that as well.

@selmaohneh
Copy link
Contributor Author

how is the release process? will this be available from nuget? can i somehow help?

@BenFradet
Copy link
Owner

nuget publishing is currently broken and we'd need someone to take it over. In the meantime you'll need to build from source

@selmaohneh
Copy link
Contributor Author

nuget publishing is broken? you mean automatic publishing?

how update releasing the nuget package manually for this huge change? i could create the nuget package for you and you put it on nuget.org? v5.0.0?

@BenFradet
Copy link
Owner

that could work, feel free to open a PR to update the version 👍

@AoshiW
Copy link
Contributor

AoshiW commented Jun 18, 2021

Personally, I wouldn't release the full version of the library yet, but some alpha/beta versions may be fine.

  1. RateLimitedRequester does not support header parameters (prevent incompatible API changes in the future)
  2. Tuxedo talked about some new endpoint that will contain timestamps and replace the old endpoint to get a matchIDs

Changing the framework to .NET core 3.1 would be a great change.

@selmaohneh
Copy link
Contributor Author

i am fine with 5.0.0-alpha as well. as long as it as available from nuget.org im happy. what do you prefer @BenFradet ?

@selmaohneh
Copy link
Contributor Author

I made a wild guess: #687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants