Plugins

Plugins geben Ihnen die Möglichkeit, Ihre Anwendungen individueller zu gestalten. Sie könnne mit HTML, CSS und JavaScript Anwendungen erstellen und damit cloud4bees Services mit anderen Webservices kombinieren. Plugins können privat oder öffentlich sein. Private Plugins können nur in der privaten Ansicht gesehen werden. Öffentliche Plugins können auch in andere Internetseiten eingebettet werden.


Plugin Beispiel

Cloud4Bees Plugins - Daten mit Google Gauge visualisieren [Source Code]




Response in: TEXTJSONXML

List Public Plugins


To view a list of public plugins, send an HTTP GET to
http://cloud.4bees.at/plugins/public.json.xml .

Valid parameters:
  • page (integer) Page number to retrieve (optional)

Example GET:
GET http://cloud.4bees.at/plugins/public.json.xml

The response will be a webpage with a list of public plugins.
The response will be a JSON object of public plugins, for example:
{
  "pagination":
  {
    "current_page": 1,
    "per_page":15,
    "total_entries": 2
  },
  "plugins":
  [
    {
      "id": 8,
      "name": "google gauge",
      "created_at": "2014-01-05T16:35:26-05:00",
      "public_flag": true,
      "username": "hans",
      "url": "https://thingspeak.com/plugins/8"
    },
    {
      "id": 13,
      "name": "Plugin 13",
      "created_at": "2014-10-09T14:45:31-04:00",
      "public_flag": true,
      "username": "hans",
      "url": "https://thingspeak.com/plugins/13"
    }
  ]
}
The response will be an XML object of public 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">true</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">true</public-flag>
      <username>hans</username>
      <url>https://thingspeak.com/plugins/13</url>
    </plugin>
  </plugins>
</response>
Response in: TEXTJSONXML

Plugins Liste


Um eine Liste Ihrer Plugins zu bekommen, senden Sie eine HTTP GET Anfrage an
http://cloud.4bees.at/plugins.json.xml .

Gültige Parameter sind:
  • api_key (string) - Ihr API Schlüssel, diesen finden Sie bei Ihren Kontoeinstellungen. (required)

GET Beispiel:
GET http://cloud.4bees.at/plugins.json.xml

Die Anwort eine Internetseite mit einer Liste Ihrer 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>