-
Notifications
You must be signed in to change notification settings - Fork 100
Conversation
i'm about to add quite a few more routes, and it looks like adding a dependency for routing will be necessary.
this thing parses a single field out of the results, and returns it as string
Hehe. |
This is great! Thanks for the hard work! |
I know this is a closed issue. I tested, the limit works as long as it is 20 or larger. If you go to 19 or less, the server times out. |
I was doing some test at night (11/03-11/04 2014). The sparkfun server wasn't responding every time I did json query on my web page. Sometimes it responds slowly after a few seconds and sometimes it responds quickly then other times there were no responses. I was sending the same commands by hand multiple times inside IE 11 (hate its cheesy F12 interface). Wondering if there were some server maintenance or maybe there are too much traffic. |
Yeah. I was working on the servers until late last night. Things should have stabilized a bit by ~11pm EST. |
Thanks! It's working now. I emptied my test stream thinking maybe the problems were caused by the fact that the stream was full. Well, I'll fill it up in a few days ;) |
Adds:
?limit=10
?sample=4
?offset=2
/output/PUBLICKEY/latest
in all formats/output/PUBLICKEY/FIELDNAME
/output/PUBLICKEY/FIELDNAME/latest
Examples:
Here's the full data set for the test stream: http://phantmqtt.sparkfun.com/output/BDPQQyM6pvf73kaRE2Ppc6z2Mwg?page=1
Query String Additions
Single Field Output
New Formats
Latest record or field