“1621” was the SCK ID for @artsa. You need to sub in your API key, and your device ID. If you don’t know your your SCK ID, just check the URL in your web browser when you click on the map for your SCK. Mine looks like this:

Smart Citizen is a platform to generate participatory processes of the people in the cities. Connecting data, people and knowledge, the objective of the platform is to serve as a node for building productive open indicators and distributed tools, and...

So when I use the API, I sub in my API key then use 685 as my device ID. Shoot me a private message with your API key if that doesn’t work, I’ll take a look at it for you.

You can change the daily average to hourly average by swapping the last work in the link (“day” with “hour”). You change the date range by modifying the “from_date=” and the “to_date=” parts of the link. Note the date format: YYYY-MM-DD. Another thing to keep in mind is that the response you get from the request is limited. I want to say that you’ll never get more than 500 posts (or averages), but I could be wrong about that.

I think the SC team in Barcelona is working on a new API interface as well as database management. I’m guessing that the public will eventually have good/easy way to access historical data for external analysis. I don’t know what that will look like or how long we’ll have to wait for those updates/upgrades to be fully implemented. Keep in mind that the SCK is still a crowd-sourced project and evolution is slow since this isn’t anybody’s full-time job. If you’re a coder, and want to help move things along, reach out to the team to offer your skills.