Fetch sensor data from Cayenne cloud API


#1

Hello every body,
I’ve raspberry PI3 which connected to Cayenne.
DHT22 Sensor
I used this:


to display data on Cayenne dashboard however i don’t know how to get these data to my own website.
I think the solution is Cayenne Cloud API which is great, so again how could I fetch sensor data using the API.


#2

hi @m.said welcome to cayenne community.
you can have a look at https://github.com/myDevicesIoT/Cayenne-API-Sample-App.
@Neoxelox has a cayenne api tutorial using mit app inventor Cayenne API tutorial for beginners beginners with ai2/thunkable.
to get the sensor data on website @Neoxelox may guide you.


#3

thank you @shramiksalgaonkar, I already walk through this sample but when came to section
Get real-time device data - Fetching device status and current device data.
I found no steps to do except digging to the app. for sorry i’m not developer :slight_smile:

if there steps would be better.

thanks again.


#4

In my tutorial there is a section called “Getting sensor’s data”… Anyway, when i have time i will do another tutorial on react-native


#5

Thank you very much.
I use postman to test get method. I really tried to match steps in “Getting sensor’s data” but i didn’t make it.


#7

I hope any one can help


#8