How to read data in thingspeak using rest client?

조회 수: 2 (최근 30일)
Mthunzi Booi
Mthunzi Booi 2019년 12월 5일
댓글: Rossell Techsys 2020년 2월 25일
Hi Team
I have this new URL and want to read all my fields channels, i have created today. My arduino does receieves messages currently, but i am unable to read non of them. What could the reason? Must it be a day to get data to be read? Output is -1 Rest Client response bad request.
  댓글 수: 1
Håkon Dahle
Håkon Dahle 2019년 12월 10일
Your URL looks good, but you need to set your channel to be public by selecting "Share channel view with everyone" under Channels -> My Channels -> Charing.
Or you can leave your channel private and do as Hans suggests below.

댓글을 달려면 로그인하십시오.

답변 (1개)

Hans Scharler
Hans Scharler 2019년 12월 5일
Hi. You are close. You also need to provide a Read API Key.
https://api.thingspeak.com/channels/929272/feeds.xml?results=4&api_key=XXX
Look under the API Keys tab of your channel.
  댓글 수: 1
Rossell Techsys
Rossell Techsys 2020년 2월 25일
Hi
using above solution i am getting only todays data only.
Please help me how to fetch day one to till date data using xml api

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 ThingSpeak에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by