Here is the shinny new .Net C# SDK with most of the fixings. Check it out, kick the tires (or tyres for our UK brethren) let us know what you think and what we should add. I will also publish some example code using the SDK. If you have any requests for examples just let me know. Thanks everyone for helping us make an SDK that works for everyone.
Here is a very brief example of how to get a report using the SDK. The credentials and the IDs should be changed with your particular information.
Code:
using WebTrends.Sdk.Report;
using WebTrends.Sdk.Account;
using WebTrends.Sdk.Exceptions;
DimensionalReport report = null;
User user = new User
{
UserName = "apiuser",
Password = "Webtrends1",
AccountName = "webtrends_com"
};
try
{
report = ReportFactory.CreateDimensionalReport("reportID", "profileID",
"2009m01d01", "2009m01d30", user);
}
catch (ServiceException ex)
{
System.Console.WriteLine(ex.error);
}