TobiasRoeddiger / DweetSharp

A simple .NET (C#) client for dweet.io πŸ“‘

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DweetSharp

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.

How to use it?

Using DweetSharp is as easy as 🍰. For a detailed documentation of the dweet.io API please have a look at this.

Sending a Dweet

//using Json.NET for serialization
string serializedObject = JsonConvert.SerializeObject(someIoTMeasurementObject);

DweetIO.DweetFor("NameOfSomeThing", serializedObject);

Getting a Dweet

string latestDweet = await DweetIO.GetLatestDweetFor("NameOfSomeThing");

Supported Functionality

  • βœ… Lock
  • βœ… Unlock
  • βœ… RemoveLock
  • βœ… DweetFor
  • βœ… DweetQuietlyFor
  • βœ… GetLatestDweetFor
  • βœ… GetDweetsFor
  • ❌ ListenForDweetsFrom
  • βœ… GetStoredDweetsFor
  • βœ… GetStoredAlertsFor
  • βœ… Alert
  • βœ… GetAlertFor
  • βœ… RemoveAlertFor

Limitations

  • retrieving dweets returns a JSON which you will have to parse according to your needs
  • the library is not fully tested yet

About

A simple .NET (C#) client for dweet.io πŸ“‘


Languages

Language:C# 100.0%