# How can 3rd party cloud Electron read data from Particle cloud?

**URL:** <https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504>\
**Category:** Cloud\
**Created:** [November 25, 2016, 2:23pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504 "2016-11-25T14:23:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [November 25, 2016, 2:23pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/1 "2016-11-25T14:23:37Z")

</div>

How can our backend cloud development team read my Electron data that is in the Particle cloud?

I just developed a product prototype, based on Particle’s Asset Tracker Electron, that reads GPS from Electron and displays on my iPhone app showing a map of a trackers routes. iPhone app uses Particle Ios SDK to communicate with Particle cloud to read GPS and battery data from Electron asset tracker.

For CES 2017, we want to demo that we can expose Electron asset tracker data from our cloud.  
So, our cloud needs to talk with Particle cloud and read Electron data stored there.

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [November 25, 2016, 3:24pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/2 "2016-11-25T15:24:15Z")

</div>

That depends _how_ your Electron tells the cloud.

You can hit the same cloud enpoints as your iOS app does. To be more speceific, we’d need to know which endpoints your iOS app uses.  
[https://docs.particle.io/reference/api/](https://docs.particle.io/reference/api/)

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [November 25, 2016, 4:47pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/3 "2016-11-25T16:47:57Z")

</div>

@douglaskbell, just to be clear, the Particle cloud does NOT store any data. The cloud simply brokers the transaction between your endpoint call and the Electron.

---

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [November 28, 2016, 5:46pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/4 "2016-11-28T17:46:50Z")

</div>

Our Electron uses particle.variable() to expose GPS data.

Will this work for our 3rd party cloud to read this GPS data?..

1. Our cloud logs to Particle cloud (like loginWithUser: does in particle iOS SDK)
2. Gets list of asset tracker Electrons (like getDevices does)
3. Requests Electron data (like getVariable)
4. Wait for cloud to read Electron and give us the data.

So, it seems our 3rd party cloud needs to do same thing as our iOS app (with particle cloud SDK):

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [November 28, 2016, 5:50pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/5 "2016-11-28T17:50:39Z")

</div>

@douglaskbell, your approach is correct. 😉

---

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [November 30, 2016, 6:05pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/6 "2016-11-30T18:05:15Z")

</div>

What kind of interface does Particle cloud have for 3rd party access?  
REST?  
I need to tell the development guy for the 3rd-party-cloud.

I’m not a cloud programmer.

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [November 30, 2016, 6:14pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/7 "2016-11-30T18:14:48Z")

</div>

@douglaskbell, I suggest you look at the Particle documentation. The Particle cloud does present a REST API and Particle provides great nodejs tools for doing that.

---

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [November 30, 2016, 6:17pm UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/8 "2016-11-30T18:17:33Z")

</div>

Fantastic! Thanks.

---

<div class="post-metadata">

**Author:** ![KyleG](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kyleg/32/11077_2.png) [@KyleG](https://community.particle.io/u/KyleG)\
**Post date:** [December 1, 2016, 12:06am UTC](https://community.particle.io/t/how-can-3rd-party-cloud-electron-read-data-from-particle-cloud/27504/9 "2016-12-01T00:06:30Z")

</div>

Thanks for the help @ScruffR @peekay123!
