{"id":1122,"date":"2014-01-19T12:57:01","date_gmt":"2014-01-19T17:57:01","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=1122"},"modified":"2020-07-07T22:08:12","modified_gmt":"2020-07-08T02:08:12","slug":"thingspeak-java-client-for-internet-of-things-applications","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2014\/01\/19\/thingspeak-java-client-for-internet-of-things-applications\/","title":{"rendered":"ThingSpeak Java Client for &#8220;Internet of Things Applications&#8221;"},"content":{"rendered":"<p>[<a title=\"Andrew Bythell Java Client for ThingSpeak\" href=\"\" target=\"_blank\" rel=\"noopener noreferrer\">Andrew Bythell<\/a>] created a ThingSpeak Java Client for the complete <a title=\"ThingSpeak API Documentation\" href=\"https:\/\/www.mathworks.com\/help\/thingspeak\/channels-and-charts-api.html\">ThingSpeak API<\/a>. This Java Client makes it really easy for Java (or Processing) developers to add cloud connectivity to applications and non-networked devices. &#8220;The purpose of the ThingSpeak Java client is to enable non-networked Device-to-ThingSpeak gateways and other applications for performing advanced analysis of data feeds,&#8221; said Andrew.<\/p>\n<p><a href=\"https:\/\/github.com\/angryelectron\/thingspeak-java\/\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1123\" src=\"https:\/\/blogs.mathworks.com\/iot\/wp-content\/blogs.dir\/15\/files\/2014\/01\/Java_ThingSpeak_Client_IoT.png\" alt=\"Java ThingSpeak Client IoT\" width=\"579\" height=\"212\" \/><\/a><\/p>\n<p>So, by using Java, a simple &#8220;Hello World&#8221; app becomes this easy&#8230;<\/p>\n<pre style=\"padding-left: 30px;\">Channel channel = new Channel(channelNumber, apiWriteKey);<\/pre>\n<pre style=\"padding-left: 30px;\">Entry entry = new Entry();\r\nentry.setField(1, \"Hello World\");\r\nchannel.update(entry);<\/pre>\n<p>&nbsp;<\/p>\n<p>All of the source code and documentation are available on\u00a0<a title=\"ThingSpeak Java Client Source Code on GitHub\" href=\"https:\/\/github.com\/angryelectron\/thingspeak-java\/\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub<\/a>. Get started right away with building your Internet of Things with the Java Programming Language and the <a title=\"ThingSpeak Internet of Things Cloud\" href=\"https:\/\/thingspeak.com\">ThingSpeak Cloud<\/a>.<\/p>\n<p>Excellent work Andrew &#8211; thanks for contributing to the Open Source ThingSpeak Community!<\/p>\n<p>[via <a title=\"ThingSpeak Java Client\" href=\"\" target=\"_blank\" rel=\"noopener noreferrer\">Angry Electron<\/a> \/ <a title=\"ThingSpeak Java Client Source Code on GitHub\" href=\"https:\/\/github.com\/angryelectron\/thingspeak-java\/\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/iot\/wp-content\/blogs.dir\/15\/files\/2014\/01\/Java_ThingSpeak_Client_IoT.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>[Andrew Bythell] created a ThingSpeak Java Client for the complete ThingSpeak API. This Java Client makes it really easy for Java (or Processing) developers to add cloud connectivity to applications&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/iot\/2014\/01\/19\/thingspeak-java-client-for-internet-of-things-applications\/\">read more >><\/a><\/p>\n","protected":false},"author":148,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[30,49,176],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/1122"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/users\/148"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/comments?post=1122"}],"version-history":[{"count":12,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/1122\/revisions"}],"predecessor-version":[{"id":2727,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/1122\/revisions\/2727"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media?parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/categories?post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/tags?post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}