SiteWhere REST API v2.0.0 - Source Code
SiteWhere is an application development platform designed to build and deploy IoT systems. The API provides access to resources, batch operations, customers, devices, and schedules. The API is REST-based, responds in JSON, and uses API Key authentication.

- Summary
- SDKs (4)
- Articles (3)
- How To(0)
- Source Code(8)
- Libraries(0)
- Developers (0)
- Followers (3)
- Changelog (0)
Sample Source Code (8)
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.
Title | Description | |
---|---|---|
![]() | SiteWhere Streams Java Sample Code | This SiteWhere Java Sample Code demonstrates stream related methods. The snippet creates requests with chunk of data streams. |
![]() | SiteWhere STOMP protocol Java Sample Code | This SiteWhere Java Sample Code demonstrates how to send messages over the STOMP protocol. This creates JSON object requests. |
![]() | SiteWhere Performance test Java Sample Code | This SiteWhere Java Sample Code demonstrates how to test the client's performance by making a number of calls to the REST API. This randomly creates a given number of events per device. |
![]() | SiteWhere Multithread Java Sample Code | This SiteWhere Java Sample Code tests REST multi-threaded operations. The snippet takes a number of simultaneous threads, and indicates whether to update assignment state from events. |
![]() | SiteWhere Interface fragment Android Sample Code | This SiteWhere Android Sample Code demonstrates user interface operations. The snippet shows an alert dialog with title and message, and another alert by implementing strings for the title and message. |
![]() | SiteWhere Fragment test Android Sample Code | This SiteWhere Android Sample Code demonstrates several fragment methods. The snippet tests accelerometer updates, location updates, alerts, and permissions. |
![]() | SiteWhere Connectivity wizard Android Sample Code | This SiteWhere Android Sample Code demonstrates several IoT connection methods such as server verification, success messages, and MQTT. |
![]() | SiteWhere Gateway Objective-C Sample Code | This SiteWhere Objective-C Sample Code demonstrates how to transform an iOS device into an IoT gateway and/or client. |