Skip to content

kareem613/SharpSpark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharpSpark

A .NET client for the SparkCore Cloud API

Usage

SparkClient client = new SparkClient("[access token]", "[device id]");

Device Info

SparkDevice deviceInfo = client.GetDevice();

Variables and Functions

SparkResult temperatureResult = client.GetVariable("temperature");
SparkReult brewResult = client.ExecuteFunction("brew","202","230");

Convenience Methods

decimal temperature = client.GetVariableReturnValue<decimal>("temperature");
int returnValue = client.ExecuteFunctionReturnValue("brew","202","230");

About

A .NET client for the SparkCore Cloud API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published