Remarks
ThingSpeak | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
Characteristic | Locus |
---|---|
Inheritance | object > ThingSpeak |
Inherited Members | object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() |
Namespace | Meadow.Foundation.DataLoggers |
Assembly | ThingSpeak.dll |
Syntax
public class ThingSpeak
Constructors
ThingSpeak(string)
Create a new ThingSpeak object
Declaration
public ThingSpeak(string writeKey)
Parameters
Type | Name | Description |
---|---|---|
string | writeKey | Write key. |
Remarks
ThingSpeak | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
Properties
URI
URI of the ThingSpeak api
Declaration
public string URI { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
ThingSpeak | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
WriteKey
Get or set the ThingSpeak WriteKey. This key allows this class to identify itself with ThingSpeak and log data with the service.
Declaration
public string WriteKey { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
ThingSpeak | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
Methods
PostValue(string)
Send a single value to ThingSpeak
Declaration
public void PostValue(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | Value to send to ThingSpeak. |
Remarks
ThingSpeak | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
PostValues(params string[])
Post a series of values to ThingSpeak
Declaration
public void PostValues(params string[] values)
Parameters
Type | Name | Description |
---|---|---|
string[] | values | Array of values to send to ThingSpeak. |
Remarks
ThingSpeak | |
---|---|
Status | |
Source code | GitHub |
NuGet package |