Effacer les filtres
Effacer les filtres

How to read data in thingspeak using rest client?

2 vues (au cours des 30 derniers jours)
Mthunzi Booi
Mthunzi Booi le 5 Déc 2019
Commenté : Rossell Techsys le 25 Fév 2020
Hi Team
I have this new URL and want to read all my fields channels, i have created today. My arduino does receieves messages currently, but i am unable to read non of them. What could the reason? Must it be a day to get data to be read? Output is -1 Rest Client response bad request.
  1 commentaire
Håkon Dahle
Håkon Dahle le 10 Déc 2019
Your URL looks good, but you need to set your channel to be public by selecting "Share channel view with everyone" under Channels -> My Channels -> Charing.
Or you can leave your channel private and do as Hans suggests below.

Connectez-vous pour commenter.

Réponses (1)

Hans Scharler
Hans Scharler le 5 Déc 2019
Hi. You are close. You also need to provide a Read API Key.
https://api.thingspeak.com/channels/929272/feeds.xml?results=4&api_key=XXX
Look under the API Keys tab of your channel.
  1 commentaire
Rossell Techsys
Rossell Techsys le 25 Fév 2020
Hi
using above solution i am getting only todays data only.
Please help me how to fetch day one to till date data using xml api

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

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by