The service provides information about electrical power consumption and access to electrical service from multiple providers within New Zealand, in areas where options are available to consumers. Information supplied helps users monitor their power use and understand provider options for both residential and business customers. In this way, the service promotes conservation and conscious choice among electricity suppliers.
API methods support retrieval of customer account information, including electrical meter readings. Provider service information is also available, with offer pricing for available service providers.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The Powershop Ruby Sample Code by Powershop demonstrates API interaction to integrate electricity utility services into applications. Controllers, helpers, and client are included as well as environments, initializes, and databases.
The Powershop PHP Sample Code by Powershop demonstrates API interaction, providing base URL, consumer key and secret as configurable variables for a given application. It also offers requests and responses in JSON protocol. Powershop is an electricity company based in New Zealand. Its API services aim to simplify utility integration for developers.
The Powershop Objective-C iPhone Sample Code by Roger Nesbitt demonstrates how to interact with the API considering users with an iPhone device. Resources show address, customer, token, OAuth, product, reading, and register. Powershop is an electric utility company in Europe that offers everyday, powerpacks, and special packages for consumers.