Back to Smartcitizen.me

SmartCitizen API

Hi,

To integrate (e.g. getting the measurements, …) the new SmartCitizen kit with an own IoT platform is this https://developer.smartcitizen.me/#summary API still valid?

Thanks.
Guy

Hi @guy.dillen

The documentation is entirely valid. The same API end-points there are the ones used by the smartcitizen.me website.

You can also check the source code of the API and the main front-end here:

Hope it helps!

Does anyone have any good tutorials / examples for noobs for learning how to get sensor data from the API and onto, say, a webpage?

Hi!

developer.smartcitizen.me is the official documentation but we know it is hard for beginners

We are working on updating docs.smartcitizen.me with API examples.

At the moment you can have a look at this deliverable (pages 7-10)

The following repository contains the pdf examples.

However, maybe the easiest way to start is by looking at this codepen snippets we created:

First, an easy one:

https://codepen.io/pral2a/pen/EyaaQX

Then a more complex:

https://codepen.io/pral2a/pen/PjzqQL

Good luck!