- Home /
import information from JS url into Unity3d
how would I import the information from
http://api.bf4stats.com/api/playerInfo?plat=ps3&name=Yort_Draeb&output=js
Into unity. I am needing to make something that can import from that url and display it.
like if i was to use that link it would show my name, my rank, my points, etc. but if i replaced it with the url for my friend
http://api.bf4stats.com/api/playerInfo?plat=ps3&name=Wizzles_Smokn420&output=js
then it would replace everything with his stats
by changing the js from the url you can change it to json, jsonp, or lines.
I don't care which one I have to use.
What I would like to do is create a prefab and have the url set to public so I can just drag the prefab and insert the new url for each one. Thank you for all help I can receive on this.
Your answer
![](https://koobas.hobune.stream/wayback/20220613132653im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
A node in a childnode? 1 Answer
counting seconds that character is idle. 1 Answer
Enemy not getting hit (Collider issue) 2 Answers
When I kill one enemy, the rest disapear, but still shoot 1 Answer
What's the type for this? 2 Answers