{"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 “Internet of Things Applications”"},"content":{"rendered":"

[Andrew Bythell<\/a>] created a ThingSpeak Java Client for the complete 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. “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,” said Andrew.<\/p>\n

\"Java<\/a><\/p>\n

So, by using Java, a simple “Hello World” app becomes this easy…<\/p>\n

Channel channel = new Channel(channelNumber, apiWriteKey);<\/pre>\n
Entry entry = new Entry();\r\nentry.setField(1, \"Hello World\");\r\nchannel.update(entry);<\/pre>\n

 <\/p>\n

All of the source code and documentation are available on\u00a0GitHub<\/a>. Get started right away with building your Internet of Things with the Java Programming Language and the ThingSpeak Cloud<\/a>.<\/p>\n

Excellent work Andrew – thanks for contributing to the Open Source ThingSpeak Community!<\/p>\n

[via Angry Electron<\/a> \/ GitHub<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"

<\/div>\n

[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… 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}]}}