Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

mattiasnordqvist/CSharp-GeckoBoard-Push

Repository files navigation

GeckoBoard Push

Some code for easy access of the GeckoBoard Push API using C#.

Install

To install GeckoBoard Push, run the following command in the Package Manager Console

PM> Install-Package CSharpGeckoBoardPush

Use

using(var geckoboard = new Geckoboard("your-api-key")) 
{
    var myWidget = geckoboard.GetWidget("widget-key");
    
    // Number and secondary stat. See geckoboard documentation for alternatives 
    var data = new
    {
        item = new object[]
        {
            new
            {
                value = 5723,
                text = "Total paying customers"
            }
        }
    };
    
    await myWidget.Push(data);
}

Geckoboard custom widgets documentation: https://developer.geckoboard.com/

About

Push data to your custom Geckoboard widgets from C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages