Use of min= in http request API | General | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Use of min= in http request API
No permission to create posts
April 7, 2013
8:06 am
New Member
Forum Posts: 1
Member Since:
April 7, 2013
sp_UserOfflineSmall Offline

I would like to use the min= parameter in my URL to fetch only data since the last entry id read previously. The idea is to only fetch new entries... but not just the one last one, rather the last N that showed up since the prior request.

Is this possible to do? I've looked through the documentation, but found no examples on the use of min... anyone have an example of this? Or what the value syntax should be? Thanks!

May 20, 2013
1:12 am

Forum Posts: 37
Member Since:
December 10, 2012
sp_UserOfflineSmall Offline

You could use the start parameter:
start=[start date] – YYYY-MM-DD%20HH:NN:SS

If you keep track of the moment you last checked the data and fill that in at start I think this should give you only the data registered after that time.


Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
39 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

kusmumichael, petersmith99, Rambant, blakeharriss09, optisol, Niyonzima Fils

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457