how to export data in time range using thingspeak?

9 vues (au cours des 30 derniers jours)
Gcobani Mkontwana
Gcobani Mkontwana le 8 Nov 2019
Hi Team
I am using Jquery and communicate with my channel because i created a normal plugin for my UI. I want to find if there is a way in Jquery that you can download date range using datapicker, i am searching online nothing seem to appear similar to what i am aiming to achieve. Kindly please assist me thanks.

Réponses (1)

Christopher Stapels
Christopher Stapels le 8 Nov 2019
You can see the documentation for the read data API call. There is a dateRange parameter you can use. Just be extra careful about the date format, it is qute picky.
  3 commentaires
Christopher Stapels
Christopher Stapels le 8 Nov 2019
You said you were using jquery from a plugin. It sounded like that plugn was on your own site.
If you are trying to use jquery to read data over a specific date range, you can make a call to the API (perhaps with JQuery.get()) and it will return the data to you. I would suggest json format.
If you are trying to read data from within Thingspeak, you can use thingSpeakRead in a MATLAB analysis or MATLAB visualization.
Wht is the final goal of the project? Its not quite clear what exactly you wish to do.
Gcobani Mkontwana
Gcobani Mkontwana le 10 Nov 2019
We aiming to use the plugin, such as this one for own development use when using IOT application and other libraries that support Jquery or Javascript libraries when using any web control in the front end stack.

Connectez-vous pour commenter.

Communautés

Plus de réponses dans  ThingSpeak Community

Catégories

En savoir plus sur ThingSpeak dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by