kRapaille / LeagueOfLegendsAPI

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

JsonReaderException with GetChampionsAsync #49

Open alocay opened 10 years ago

alocay commented 10 years ago

I know this is a closed issue (https://github.com/XeeX/LeagueOfLegendsAPI/issues/42) but I'm seeing a JsonReaderException 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);

Newtonsoft.Json.JsonReaderException: {"Input string '70.0' is not a valid integer. Path 'data.Aatrox.spells[0].effect[1]', line 1, position 5608."}

Remixninja-zz commented 9 years ago

Also ran into this issue doing the same call:

Additional information: Input string '80.0' is not a valid integer. Path 'data.Thresh.spells[0].effect[1][0]', line 1, position 3924.

If this project is open to fork I would be happy to go fix the bug and submit a merge request :) Thanks for making this btw auth, seems very nicely built.