Nest provides sample code showing a server side integration between Nest and Twitter. With the code, developers can pair a Twitter account to their own Nest account. To start developers will need a Twitter API key and access tokens for both Twitter and Nest accounts. Developers can also learn how to handle authorization and erros, implement listeners to respond to changes in Nest data, use Scala to interact with Nest, read and write thermostat, away, ETA, smoke alarm batter, smoke and CO states and update their Twitter status based on data from the Nest service.
The next generation of smart city applications and user interfaces are beginning to emerge based on the European-initiated FIWARE open API platform. The platform provides an open source toolkit of APIs and backend infrastructure components that enable app developers to create new city solutions.