Is it possible for the public user to extract all the data?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a small project in my university. I have created channel and it is collecting data from my sensor with rate of 1 data point/minute. I want my public user to access my data for one day data collection which is around 1440 datapoints. The current setup only allow the public user to get 100 datapoints only. Is it possible for the public user to get more datapoints from my channel? If it is possible, could you please tell me the detail procedure. Thank you
댓글 수: 0
채택된 답변
Anuj
2023년 7월 10일
You can use thingSpeakRead function in matlab or by making HTTP GET requests to the ThingSpeak API. By default, the maximum number of datapoints returned in a single request is 8000. To retrieve more than 100 datapoints, you can use pagination to make multiple requests and concatenate the results.
Reference link of thingSpeakRead - Read data stored in ThingSpeak channel - MATLAB thingSpeakRead - MathWorks India
Refernce link of working application - ThingTweet App - MATLAB & Simulink - MathWorks India
추가 답변 (1개)
Christopher Stapels
2023년 7월 10일
use the parameters for results or days or minutes, daterange to control the number of points returned.
Appreciate the answer @Anuj. We are always looking for more knowledgeable community participants on the thingSpeak forum, please visit sometime if you can.
커뮤니티
더 많은 답변 보기: 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!