Hello!
I've learnt kind of how to use XML APIs and stuff, but I don't get how to collect information from APIs such as Heroes of Newerth (http://xml.heroesofnewerth.com/xml_requester.php?f=player_stats&opt=aid&aid[]=376946) because the params are all the same (name)
How do I seperate and use the different <stat> things? Also, how do convert them to usable easy strings
I want it to be easy, try to keep it that way
Thanks in advance!
http://xml.heroesofnewerth.com/xml_requester.php?f=player_stats&opt=aid&aid[]=376946
If you didn't get the question, how do i work with stuff that all looks the same:
<stat name="sort this out">Want this</stat>
<stat> remains <stat>
I've learnt kind of how to use XML APIs and stuff, but I don't get how to collect information from APIs such as Heroes of Newerth (http://xml.heroesofnewerth.com/xml_requester.php?f=player_stats&opt=aid&aid[]=376946) because the params are all the same (name)
How do I seperate and use the different <stat> things? Also, how do convert them to usable easy strings
I want it to be easy, try to keep it that way
Thanks in advance!
http://xml.heroesofnewerth.com/xml_requester.php?f=player_stats&opt=aid&aid[]=376946
If you didn't get the question, how do i work with stuff that all looks the same:
<stat name="sort this out">Want this</stat>
<stat> remains <stat>