MATLAB Answers

How to read date range in thingspeak using personal use account?

1 view (last 30 days)
Mthunzi Booi
Mthunzi Booi on 9 Dec 2019
Answered: Håkon Dahle on 10 Dec 2019
Hi team
I have a REST request to read date range, it does not seem to work. I ought to think of my account as being personal account for non-project. Question is it because of this? See my URL Rest client request.
https://api.thingspeak.com/channels/929272/feeds.csv?start=2019-12-06%2019:12:06&end=2019-12-06%2019:12:09.

  0 Comments

Sign in to comment.

Answers (1)

Håkon Dahle
Håkon Dahle on 10 Dec 2019
Hi,
Your URL is incorrectly formatted. Your URL seems to have the start-date twice and the end-date twice:
https://api.thingspeak.com/channels/929272/feeds.csv?start=2019-12-06%2019:12:06&end=2019-12-06%2019:12:09
Try something like this instead:
https://api.thingspeak.com/channels/929272/feeds.csv?start=2019-12-05&end=2019-12-06
-h

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags

Products


Release

R2019b