首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > sunnytraildotnet

sunnytraildotnet

  • 资源大小:10.00 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

A C# .NET wrapper around the SunnyTrail API. SunnyTrail is a self-serve hosted service that allows web startup founders to know the state of their business in real time. Getting Started Download the latest binary for SunnyTrail.NET and add a reference to it in your project. Using SunnyTrail.NET ``` // First create an event (in this example, the event is me signing up to the basic trial plan for $49. var signupEvent = new Event { Id = 1, Action = new EventAction { Type = EventActionType.Signup, Created = DateTime.UtcNow }, Email = "user@sample.com", Name = "Matthew Brindley", Plan = new EventPlan { Name = "Basic Trial 49", Price = 49.0, Recurring = 31 } }; // Now submit the event to SunnyTrail
VIP VIP
0.202171s