68 lines
3.1 KiB
Plaintext
68 lines
3.1 KiB
Plaintext
<div class="row">
|
|
|
|
<div class="col-sm-offset-1 col-sm-3 col-xs-12" id="leftcol">
|
|
<%= render 'docs/sidebar' %>
|
|
</div>
|
|
|
|
<div class="col-sm-7 col-xs-12">
|
|
|
|
<h1 id="start">Getting Started</h1>
|
|
|
|
<ul>
|
|
<li>Sign Up for a New User Account - <a title="Create New ThingSpeak User Account" href="https://thingspeak.com/account/new">https://thingspeak.com/account/new</a></li>
|
|
<li>Create a New Channel by selecting <em>Channels</em> and then <em>Create New Channel</em></li>
|
|
<li>Follow a <a title="ThingSpeak Tutorials" href="http://community.thingspeak.com/tutorials/">tutorial</a> for common devices and applications</li>
|
|
</ul>
|
|
|
|
<br>
|
|
<h4 id="support">Support</h4>
|
|
<p>Please post your questions, comments, and feature requests in the <a title="ThingSpeak Forum" href="http://community.thingspeak.com/forum/">ThingSpeak Forum</a>.</p>
|
|
|
|
<br><br>
|
|
<h4 id="opensource">Open Source</h4>
|
|
|
|
<p>The ThingSpeak API is available on <a title="ThingSpeak Open Source Web of Things API on GitHub" href="https://github.com/iobridge/thingspeak" target="_blank">GitHub</a> and includes the complete ThingSpeak API for processing HTTP requests, storing numeric and alphanumeric data, numeric data processing, location tracking, and status updates. The open source version follows the same documentation as the ThingSpeak hosted service.</p>
|
|
|
|
<ul>
|
|
<li><a title="Open Source Web of Things API - ThingSpeak on GitHub" href="https://github.com/iobridge/thingspeak" target="_blank">GitHub Repository for ThingSpeak</a></li>
|
|
<li><a title="ThingSpeak GitHub Readme File" href="https://github.com/iobridge/thingspeak/blob/master/README.textile" target="_blank">ThingSpeak README and Setup Instructions</a></li>
|
|
</ul>
|
|
|
|
<br><br>
|
|
<h4 id="headers">HTTP Headers</h4>
|
|
If you would like to reduce the number of HTTP headers sent by our application, please add the parameter "headers=false" to any HTTP request.
|
|
|
|
<br><br><br><br>
|
|
<h4 id="timezones">Time Zones Reference</h4>
|
|
Time zones can be specified for any request by adding the <i>timezone</i> parameter with a value corresponding to any identifier found below.
|
|
Identifier names are case-sensitive, and should be URL-encoded in HTTP GET requests, for example:
|
|
<br><br>
|
|
<pre>GET <span class="str"><%= @ssl_api_domain %>channels/9/fields/1/last.json?timezone=<span class="customcode">America%2FNew_York</span></span></pre>
|
|
<br>
|
|
<table class="table table-striped table-bordered table-condensed">
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
<th>Current Offset</th>
|
|
</tr>
|
|
<% @timezones.each do |identifier, hash| %>
|
|
<tr>
|
|
<td><%= identifier %></td>
|
|
<td><%= raw(hash[:description]) %></td>
|
|
<td>UTC <%= hash[:offset] %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<div class="alert alert-warning">
|
|
<b>Note:</b>
|
|
<br>
|
|
If both the <i>offset</i> and <i>timezone</i> parameters are present, <i>offset</i> will be ignored in favor of the more accurate <i>timezone</i> parameter.
|
|
</div>
|
|
|
|
<br><br><br><br><br><br><br><br><br><br><br><br>
|
|
|
|
</div>
|
|
</div>
|
|
|