Plugins

Plugins are way to create your applications natively on the ThingSpeak platform. You can create applications using HTML, CSS, and JavaScript to create mashups of ThingSpeak services with other web services. Plugins can either be private or public. Private plugins can only be viewed from a private ThingSpeak Channel view. Public Plugins can be embedded on your website or added to a ThingSpeak Channel view.


Example Plugin

Display a Google Gauge Visualization using ThingSpeak Plugins [Source Code]




Response in: TEXTJSONXML

List My Plugins


To view a list of your plugins, send an HTTP GET to
http://160.16.121.247:3000/plugins.json.xml .

Valid parameters:
  • api_key (string) - Your Account API Key, which can be found in your Account settings. (required)

Example GET:
GET http://160.16.121.247:3000/plugins.json.xml

The response will be a webpage with a list of your plugins.
The response will be a JSON object of your plugins, for example:
[
    {
      "id": 8,
      "name": "google gauge",
      "created_at": "2014-01-05T16:35:26-05:00",
      "public_flag": false,
      "username": "hans",
      "url": "https://thingspeak.com/plugins/8"
    },
    {
      "id": 13,
      "name": "Plugin 13",
      "created_at": "2014-10-09T14:45:31-04:00",
      "public_flag": false,
      "username": "hans",
      "url": "https://thingspeak.com/plugins/13"
    }
  ]
The response will be an XML object of your plugins, for example:
<response>
  <pagination>
    <current-page type="WillPaginate::PageNumber">1</current-page>
    <per-page type="integer">15</per-page>
    <total-entries type="integer">2</total-entries>
  </pagination>
  <plugins type="array">
    <plugin>
      <id type="integer">8</id>
      <name>google gauge</name>
      <created-at type="dateTime">2014-01-05T16:35:26-05:00</created-at>
      <public-flag type="boolean">false</public-flag>
      <username>hans</username>
      <url>https://thingspeak.com/plugins/8</url>
    </plugin>
    <plugin>
      <id type="integer">13</id>
      <name>Plugin 13</name>
      <created-at type="dateTime">2014-10-09T14:45:31-04:00</created-at>
      <public-flag type="boolean">false</public-flag>
      <username>hans</username>
      <url>https://thingspeak.com/plugins/13</url>
    </plugin>
  </plugins>
</response>