To make integrating .NET client applications easier with the Mingle API we now have an open source project. An installer for the DLLs needed to call the Mingle API programmatically from a .NET client is included with this post. The source is on Github. The binaries are available as a NuGet package.
API and object model documentation is provided in MS help viewer (chm) format.
Support: Since this is open source I am supporting it myself. Feel free to post here, on my blog or email me at email@example.com.
There is some sample code below.
public class SampleClass
public void OneSample()
const string MINGLEHOST = "http://localhost:8080";
const string MINGLEUSER = "mingleuser";
const string MINGLEPASSWORD = "secret";
// Connect to Mingle
var mingle = new MingleServer(MINGLEHOST, MINGLEUSER, MINGLEPASSWORD);
// Get a project
var project = mingle.GetProject("test");
// Get a card
var card = project.GetCard(4);
// Create a new card
var newCard = project.CreateCard("story", "make a new widget");
// Get a bunch of cards for a view (favorite)
var view = project.GetView("Sprint List");