The Socrata PHP Sample Code by Socrata demonstrates API interaction to implement open data. Developers can obtain magnitude of an earthquake with data available on the site.
VIMOC Technologies has open sourced sensor hardware design in order to help grow smart cities infrastructure and enable use of its Landscape-Computing API platform.