Hello guys!
I have a question. It's very important. I'm just starting my adventure with Construct 2, but already I came across a pretty big problem that I can not solve.
As you know, the League of Legends has it's own API.
After generating a URL, it looks like this:
{"micheal23":{"id":40904801,"name":"Micheal23","profileIconId":26,"summonerLevel":1,"revisionDate":1363260127000}}
That is what server returns (.JSON file? - I think so.. Tell me if I'm wrong)
I want to choose specific data (but dynamically) - ID, USERNAME, PLAYER'S LEVEL and place it in Construct 2. The only question is how to do it?
I tried to use Ajax, but he asks me the value of parentheses and apostrophes, and I want to make it look less like this:
ID: 40904801
Name: Michael23
Level: 1
I just want to put a clear informations to textbox in C2. Please help. I found a few plugins ("How to read the .json file"), but I want to do it dynamically from League of Legends server (to use what data request give me back).
Thanks!