feeds.json vs status.json
Hello, I see a difference in the number of elements returned by: https://api.thingspeak.com/channels/1389063/status.json?offset=0&results=2500&api_key=XXXXXXXXXXXXXX and https://api.thingspeak.com/channels/1389063/feeds.json?offset=0&results=2500&status=true&api_key=XXXXXXXX The first returns only 271 elements, the second 2500 as requested. Why is that?
2 Comentarios
Tiempo descendenteYou're right, thanks for pointing out.
Have a look at the tip in the doc for the status endpoint .
The results parameter determines the maximum number of entries to be retrieved for a query, up to 8000. The default time span is limited to 1 day (24 hours). To get results from more than 1 day and limit the entries, use both the results and days parameters together.