Swift: Getting the Levels of Water in São Paulo

I am brazilian and we are facing a water crisis (specially in São Paulo state), the drought is the most severe in the history of São Paulo and the people become interested in knowing the levels in the Cantareira reservoir system.

The state water authority, SABESP, has a website that shows the current levels with daily updates.

An API (https://github.com/rafaell-lycan/sabesp-mananciais-api) was made based on the data available on this website and we can follow the level changes of each reservoir in the Cantareira reservoir system.

As usual, the source code of this post is available at my github.

Continue reading “Swift: Getting the Levels of Water in São Paulo”

Chrome Extension with the forecast.io API

We can change the way that we interact with the browser and the way that we absorb all the information that are relevant to us simply by customizing the behavior of the chrome using extensions.

The greatest thing about chrome is that it is easy to create a great chrome extension.

Extensions like RSS readers and e-mail notifications are the most common in the chrome web store.

In this post I will show you how to create a simple extension that accesses an external API hosted by forecast.io

The source code of the extension is available in my github https://github.com/rpresb/chrome-extension-forecastio

Continue reading “Chrome Extension with the forecast.io API”

Blog at WordPress.com.

Up ↑