Is it possible for the public user to extract all the data?

2 ビュー (過去 30 日間)
Regidestyoko
Regidestyoko 2023 年 7 月 10 日
コメント済み: Regidestyoko 2023 年 7 月 11 日
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

採用された回答

Anuj
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.
Refernce link of working application - ThingTweet App - MATLAB & Simulink - MathWorks India
  1 件のコメント
Regidestyoko
Regidestyoko 2023 年 7 月 11 日
Hello @Anuj, Thank you so much for your kind answer, It helped us a lot

サインインしてコメントする。

その他の回答 (1 件)

Christopher Stapels
Christopher Stapels 2023 年 7 月 10 日
Also here is the API call for read data documentation.
use the parameters for results or days or minutes, daterange to control the number of points returned.
For thingSpeakRead, use numdays, numminutes, numpoints, etc.
Appreciate the answer @Anuj. We are always looking for more knowledgeable community participants on the thingSpeak forum, please visit sometime if you can.
  1 件のコメント
Regidestyoko
Regidestyoko 2023 年 7 月 11 日
Thank you so much for the reply, I might visit the thingSpeak forum more frequent to get better understanding of this.

サインインしてコメントする。

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeRead Data from Channel についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by