Unofficial C# Wrapper for the devRant public API.
This is a library written in C#.NET for access to the devRant API. It aims to provide serialization on the components received so you can easily make use of the library to build applications and other code.
- .NET Framework 4+
The easiest way to install devRantDotNet is using nuget, run the following command in the Package Manager Console
PM> Install-Package redrails.devRantDotNet
If you want to run from source then you can clone this repository and add it as a reference in your project.
using devRantDotNet;
namespace MyProject
{
class MyProgram
{
public static void Main(string[] args)
{
using(var dr = new devRant())
{
Console.WriteLine(dr.GetUserIdAsync("px06").Result);
Console.WriteLine(dr.GetRantsAsync().Result);
...
}
}
}
}
Most methods are available in this library with some ongoing work on improving it. All methods are Async.
Please see the wiki: https://github.com/redrails/devRantDotNet/wiki/Documentation
If you would like to contribute then please submit pull-requests.
Feel free to use the library as it is open-source but please do give credit when using it.