Moved to github

https://github.com/sandrock/betaseries-netapi

Project Description

This is a Microsoft .NET project that permits you to use the BetaSeries.com API with minimum code.
Please refer to the official API documentation.

// Because you will need multiple api client instances, you can configure them this way
BetaseriesClientFactory.Default = 
  new BetaseriesClientFactory("betaseries-api-key", "MyBetaApplication/1.0.0.0", true);

// Then anywhere you can get a client like this
IBetaseriesSyncAsyncApi client = 
  BetaseriesClientFactory.Default.CreateDefaultClient();
// Simple instanciation is also available
IBetaseriesSyncAsyncApi client = 
  new BetaseriesXmlClient("betaseriesapikey", "MyBetaApplication/1.0.0.0");

// authenticate user?
client.Authenticate("username", "password");

// searching for shows?
var shows = client.SearchShows("stargate");

// you also have async methods
client.GetShowEnded += (sender, args) => {
    if (args.Success) {
        var myShow = args.Data;
    } else {
        MessageBox.Show(args.ErrorMessage);
    }
};
client.GetShowAsync("dexter");

This library is available for:
  • Microsoft .NET 3.5 assembly (we use LINQ to XML, so 3.5)
  • Silverlight 4
  • Windows Phone 7.0
  • Windows Mobile 6

Original project page
User guide

Flattr this

Last edited Dec 21, 2013 at 11:55 PM by SandRock, version 6