Retrieving your online data

Now that we have stored measurement data in the previous recipe, we are now going to learn how to retrieve it and possibly use it inside applications.

Getting ready

For this recipe, you need to have some data stored on the Dweet.io server. For that, please follow the previous recipe if that's not done yet.

How to do it...

Let's suppose that you have data stored for a device called "mymkr1000" on the Dweet.io server. You can easily access the latest data that was stored on the server by typing the following command inside any web browser:

https://dweet.io/get/latest/dweet/for/mymkr1000

This will be the result:

{ "this":"succeeded", "by":"getting", "the":"dweets", "with":[ { "thing":"mymkr1000", "created":"2016-05-06T09:35:31.110Z", ...

Get Internet of Things with Arduino Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.