Skip to main content

Class ThingSpeak

Represents a ThingSpeak data logger object

Assembly: ThingSpeak.dll
View Source
Declaration
public class ThingSpeak

Properties

WriteKey

Get or set the ThingSpeak WriteKey. This key allows this class to identify itself with ThingSpeak and log data with the service.

View Source
Declaration
public string WriteKey { get; set; }

URI

URI of the ThingSpeak api

View Source
Declaration
public string URI { get; set; }

Methods

PostValue(string)

Send a single value to ThingSpeak

View Source
Declaration
public void PostValue(string value)
Parameters
TypeNameDescription
System.StringvalueValue to send to ThingSpeak.

PostValues(params string[])

Post a series of values to ThingSpeak

View Source
Declaration
public void PostValues(params string[] values)
Parameters
TypeNameDescription
System.String[]valuesArray of values to send to ThingSpeak.