kRapaille / LeagueOfLegendsAPI

Portable C# Library for League of legends API
http://xeex.github.io/LeagueOfLegendsAPI
MIT License
19 stars 7 forks source link

JSONReaderException when loading champions or summoner info #42

Closed ghost closed 10 years ago

ghost commented 10 years ago

Im trying to get all champions and/or summonerinfo but everytime im getting the error shown below. Im using the Nuget version but it is up to date. I hope it can be fixed soon :)

image

ghost commented 10 years ago

Here is the image when trying to load champions image

kRapaille commented 10 years ago

Hey Jaco3319, thank you for your feedback.

I fixed the issue for the champions but could you tell me what are you referring to when you're talking about summonerinfo ? Which method do you use ?

I'm currently at work so I can't test anything before pushing it to prod. I'll do it tonight (in ~8h) and push it to the master branch and NuGet if everything works as expected.

Best regards,

XeeX

ghost commented 10 years ago

Thanks for the answer, no rush :) The issue with the summonerinfo occurs when trying to make the following call

image

ghost commented 10 years ago

wait...

ghost commented 10 years ago

the issue happend because of the error in the champion api, sorry about that, my bad. Im at work too so i wasnt paying attention to the error message. Looking forward to the update :)

ghost commented 10 years ago

any news?

kRapaille commented 10 years ago

Forgot to push it on prod. Sorry about that ! You should be able to update your NuGet packages.

ghost commented 10 years ago

Works like a charm! Thanks!

alocay commented 10 years ago

Hmm i know this is a closed issue but I'm seeing this when I request all info for all champions and I'm on the latest from NuGet.

champs = await leagueApi.Static.GetChampionsAsync(false, ChampDataEnum.All, RegionEnum.Na, LanguageEnum.EnglishUS, null);