Characteristic Locus
Inheritance System.Object > ThingSpeak
Namespace Meadow.Foundation.DataLoggers
Assembly ThingSpeak.dll

Syntax

public class ThingSpeak : object

Constructors

ThingSpeak(String)

Create a new ThingSpeak object

Declaration
public ThingSpeak(string writeKey)

Parameters

Type Name Description
System.String writeKey

Write key.

Properties

URI

URI of the ThingSpeak api

Declaration
public string URI { get; set; }

Property Value

Type Description
System.String

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
System.String

Methods

PostValue(String)

Send a single value to ThingSpeak

Declaration
public void PostValue(string value)

Parameters

Type Name Description
System.String value

Value to send to ThingSpeak.

PostValues(String[])

Post a series of values to ThingSpeak

Declaration
public void PostValues(params string[] values)

Parameters

Type Name Description
System.String[] values

Array of values to send to ThingSpeak.