How to read data in thingspeak using rest client?
1 回表示 (過去 30 日間)
古いコメントを表示
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
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
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
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 Center および File Exchange で Read Data from Channel についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!