sousa-andre / lcu-driver

🐍 Python3 interface for League of Legends Client API
MIT License
117 stars 15 forks source link

Please support Http2 #22

Closed rainzee closed 1 year ago

rainzee commented 2 years ago

Now some LCU API force to use http2. Requests Unable to communicate properly #

sousa-andre commented 2 years ago

Which endpoints require http2?

rainzee commented 2 years ago

/lol-match-history/v3/matchlist/account/

rainzee commented 2 years ago

Yes, Cause it force use http2. Now python community dosent have a workable http2 lib yet.

LianhaoXue commented 2 years ago

I could have used the HTTPX module, but I failed

Dobedoooo commented 2 years ago

I got 404 from /lol-match-history/v3/matchlist/account/ since April 20 even with http2. I use Nodejs.

rainzee commented 2 years ago

nodejs work fine

zhu659zhu commented 2 years ago

/lol-match-history/v3/matchlist/account/ this api works fine now? i got 404 @rainzee

Dobedoooo commented 2 years ago

/lol-match-history/v3/matchlist/account/ this api works fine now? i got 404 @rainzee

I got 404 still, it says invalid function maybe developers don’t want us to use it anymore?

rainzee commented 2 years ago

You need to add some header

zhu659zhu commented 2 years ago

any detail about the headers? thx!

XilyFeAAAA commented 1 year ago

You need to add some header

I also got 404 invaild function sometimes when i use accept or session.Its strange that i can use it normally on an account, when i switch to another one, the 404 appears. I tried to add header to request,but it doesnt work.I think is it about the account cache?Or when i use some of functions incorrectly, it was blocked?