# Fetching JSON data from Losant to populate VR

**URL:** <https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155>\
**Category:** Help\
**Tags:** dashboard\
**Created:** [September 1, 2019, 2:30pm UTC](https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155 "2019-09-01T14:30:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunday\_Ajiroghene](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sunday_ajiroghene/32/4915_2.png) [@Sunday\_Ajiroghene](https://forums.losant.com/u/Sunday_Ajiroghene)\
**Post date:** [September 1, 2019, 2:30pm UTC](https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155/1 "2019-09-01T14:30:40Z")

</div>

Hello Everyone,

It’s been like decades since I did some questions and answers session. However, things have been great, been busy trying to get the decision makers buy into my solutions. I finally got an audience with a greater task not anticipated.

I want to overlay sensor data on VR, basically for a more user experience. Ordinarily, I could use the usual HTTP web server, but for data security we all know its not safe. Since there is some sort of security associated with this platform. I am excited to know how.

To expatiate my point, imagine the scenario where I have successfully built my IoT devices and integrated them on the Losant dashboard and found to be communicating correctly with the platform; is there a way I could fetch these same raw JSON datas (through an exposed method) already on display to populate my VR display? Is there an API I could use for this backend data fetch such that only user with the authentication key and secret key can have access to these datas, which is myself ?

Your response would be of great help.

Anticipating your kind response.

Regards

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [September 3, 2019, 1:49pm UTC](https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155/2 "2019-09-03T13:49:28Z")

</div>

Hi @Sunday_Ajiroghene,

I just want to clear this question up so that I understand the question 😄 Are you hoping to retrieve JSON data from Losant and send it to another platform/application? And are you looking for the most secure way to do so?

Thanks!  
Julia

---

<div class="post-metadata">

**Author:** ![Sunday\_Ajiroghene](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sunday_ajiroghene/32/4915_2.png) [@Sunday\_Ajiroghene](https://forums.losant.com/u/Sunday_Ajiroghene)\
**Post date:** [September 3, 2019, 2:56pm UTC](https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155/4 "2019-09-03T14:56:01Z")

</div>

@JuliaKempf, no, not to send to another platform, but to populate a 3D model I created using Unity Software. A virtual reality graphics which represents a real life scanario. Meaning, yes I want to retrieve JSON data from the platform.

I want a situation where, if I press a button from the VR simulated environment, it should activate real life switch. I have figured out how to do this in real time without using losant but data security can’t be guaranteed. Since, losant solves security issue, I want to register every activities in the losant platform for real time monitoring, while I make my control from the game like model. Of course when for instance, I turn on a light 💡, bulb in the VR would be seen ON.

I sure would pay for every data passing through the losant platform once deployed.

Do you get my point?

Meanwhile, do you think of a better way out?

Regards,

Sunny

---

<div class="post-metadata">

**Author:** ![Sunday\_Ajiroghene](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sunday_ajiroghene/32/4915_2.png) [@Sunday\_Ajiroghene](https://forums.losant.com/u/Sunday_Ajiroghene)\
**Post date:** [September 4, 2019, 11:29am UTC](https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155/5 "2019-09-04T11:29:18Z")

</div>

@JuliaKempf @anaptfox,

Hello ~

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [September 4, 2019, 4:34pm UTC](https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155/7 "2019-09-04T16:34:24Z")

</div>

Hi @Sunday_Ajiroghene!

Yes, everything your talking about above is exactly what [Losant Experiences](https://docs.losant.com/experiences/overview/) allow you to do. With it, you can expose a custom API into your IoT data. Here are some things you should check out:

> **[Experiences](https://docs.losant.com/experiences/overview/)**
>
> Learn more about creating end user experiences in the Losant platform.

> **[API Walkthrough](https://docs.losant.com/experiences/walkthrough/overview/)**
>
> Follow along as we build a custom API in a Losant Experience.

---

<div class="post-metadata">

**Author:** ![Sunday\_Ajiroghene](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sunday_ajiroghene/32/4915_2.png) [@Sunday\_Ajiroghene](https://forums.losant.com/u/Sunday_Ajiroghene)\
**Post date:** [September 5, 2019, 5:19am UTC](https://forums.losant.com/t/fetching-json-data-from-losant-to-populate-vr/2155/9 "2019-09-05T05:19:20Z")

</div>

@anaptfox, fantastic, fantastic. I will follow through this tutorial.

Many thanks
