wiki:NetLibHome

This is the homepage for the .NET library for the betaseries API

Sources are under license. Please read NetLibLicenses before use.

What's this?

This is a Microsoft .NET project that permits you to use the betaseries.com API with minimum code.

If you build an app using this library, you might want to make a small donation: http://api.flattr.com/button/flattr-badge-large.png

// Because you will need multiple api client instances, you can configure them this way
BetaseriesClientFactory.Default = 
  new BetaseriesClientFactory("betaseriesapikey", "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
  • Windows Mobile 6

Downloads

NetLibDownloads

Documentation

NetLibGuide (english) - FrNetLibGuide? (french)
NetLibLicenses (english)
NetLibMaintenance (english)

Status

http://static.projects.sandrock.fr/betaseries/implementation graph.png

Class diagram

http://static.projects.sandrock.fr/betaseries/ClassDiagram.png