CSV format data with API export only 1st field
13 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I'm using following command to output my data in CSV format
Problem is that file is outputed with only 1st field
created_at,entry_id,field1
2019-12-19 21:08:00 UTC,2228,8.09
2019-12-19 21:09:24 UTC,2229,8.09
2019-12-19 21:10:47 UTC,2230,50.09
2019-12-19 21:12:11 UTC,2231,24.09
How can I do to export all fields?
This channel has 5 fields.
Thanks a lot for your support
I wish you a merry Christmas
0 件のコメント
回答 (3 件)
Vinod
2019 年 12 月 24 日
I think you're looking for the API documented here: https://www.mathworks.com/help/thingspeak/readdata.html
0 件のコメント
Olivier HUBERT
2019 年 12 月 24 日
編集済み: Olivier HUBERT
2019 年 12 月 24 日
1 件のコメント
Vinod
2019 年 12 月 24 日
Your request is specifically requesting only field 1.
https://api.thingspeak.com/channels/<channel_id>/fields/1.csv?api_key=APIKEY&start=2017-01-20&results=8000
If you want all fields, you have to get the entire channel feed
https://api.thingspeak.com/channels/<channel_id>/feeds.<format>
コミュニティ
その他の回答 ThingSpeak コミュニティ
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!