kfrancis / geckonet Goto Github PK
View Code? Open in Web Editor NEWA comprehensive C# API wrapper library for accessing Geckoboard.com, using XML or JSON to read/write.
License: MIT License
A comprehensive C# API wrapper library for accessing Geckoboard.com, using XML or JSON to read/write.
License: MIT License
It would be great to update the DatasetFieldType enum to update pascal case naming convention and more consistent with .NET core enums.
geckonet/Source/Geckonet.Core/Models/DatasetModels.cs
Lines 65 to 72 in 9a1d984
You already have another enum here: https://github.com/kfrancis/geckonet/blob/9a1d984f9839d87405c003546e59e0865c22641f/Source/Geckonet.Sample/Areas/HelpPage/SampleGeneration/SampleDirection.cs
E.g. you could change it to something like this:
[DataContract]
public enum DatasetFieldType
{
[EnumMember(Value = "date")]
Date,
[EnumMember(Value = "datetime")]
DateTime,
[EnumMember(Value = "number")]
Number,
[EnumMember(Value = "percentage")]
Percentage,
[EnumMember(Value = "string")]
String,
[EnumMember(Value = "money")]
Money
}
var obj = new GeckoDataset()
{
Fields = new Dictionary<string, IDatasetField>()
{
{"amount", new DatasetField(DatasetFieldType.Number, "Amount")},
{"timestamp", new DatasetField(DatasetFieldType.Date, "Date")}
},
UniqueBy = new List<string>() { "timestamp" }
};
Upgrading all my libraries to NetStandard 2.0 since they can be used more broadly.
Hi
Would you be interested in a pull request that uses basic WebRequest instead of RestSharp and thus removes many of the dependencies ?
The Leaderboard widget is very close in structure to to the DataItem Model but it needs to have an attribute for "previous_rank". Seems like an easy add for the next build.
***Update - Nevermind. I found that you've added this to the source code but it just wasn't in the compiled version I had pulled down from NuGet.
Link in the following is broken:
A comprehensive C# API wrapper library for accessing Geckoboard.com, using XML or JSON to read/write widget data easily using strong-typed models using the documentation listed [here](http://docs.geckoboard.com/custom-widgets/).
Hi,
Maybe i'm overlooking something. But is it possible that the list widget is missing in the models ?
https://developer.geckoboard.com/#list
Dave
Hi,
should be possible adding the Name property on the class "GeckoBarChartSeries"?
Should be useful having it for legend settings.
Thanks,
Ros.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.