This is a .NET open-source library to interact with the dweet.io REST API. It gives you ridiculously simple messaging and alerts for the Internet of Things.
Using DweetSharp is as easy as ๐ฐ. For a detailed documentation of the dweet.io API please have a look at this.
//using Json.NET for serialization
string serializedObject = JsonConvert.SerializeObject(someIoTMeasurementObject);
DweetIO.DweetFor("NameOfSomeThing", serializedObject);
string latestDweet = await DweetIO.GetLatestDweetFor("NameOfSomeThing");
- โ Lock
- โ Unlock
- โ RemoveLock
- โ DweetFor
- โ DweetQuietlyFor
- โ GetLatestDweetFor
- โ GetDweetsFor
- โ ListenForDweetsFrom
- โ GetStoredDweetsFor
- โ GetStoredAlertsFor
- โ Alert
- โ GetAlertFor
- โ RemoveAlertFor
- retrieving dweets returns a JSON which you will have to parse according to your needs
- the library is not fully tested yet