How do I view the "Data Export" button in the privately shared channel in ThingSpeak?
22 views (last 30 days)
Show older comments
MathWorks Support Team
on 26 Oct 2017
Edited: MathWorks Support Team
on 26 Aug 2021
How do I view the "Data Export" button in the privately shared channel in ThingSpeak?
This button is available for Public Channels i.e., channels shared with "Share channel view with everyone" option. But the button is not available for privately shared channel i.e., "Share channel view only with the following users" option. How can I save the feed as a CSV for privately shared channel?
Accepted Answer
MathWorks Support Team
on 23 Aug 2021
Edited: MathWorks Support Team
on 26 Aug 2021
The purpose of sharing a channel privately to a select number of users is that they can view the visuals of the data.
However, if you want to save the feed data as a CSV from a privately shared channel, you need to make an API request with the Read API key and Channel ID. For example, a sample request can be given as follows:
https://api.thingspeak.com/channels/CHANNEL_ID/feeds.csv?api_key=READ_API_KEY&start=YYYY-MM-DD%20HH:NN:SS
More information on the ThingSpeak API can be found in the documentation page linked below:
Please note that if the feed has more than 8000 records, the data would be save as multiple CSV files. This is the same behavior exhibited by the "Data Export" button in the public channels.
0 Comments
More Answers (0)
Communities
More Answers in the ThingSpeak Community
See Also
Categories
Find more on Read Data from Channel in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!