2011-04-17, 14:43
CherryTomato
CherryTomato makes using information provided by RottenTomatoes.com very simple. It's aim is to allow developers to quickly and safely create powerful applications with the JSON api provided for free by RottenTomatoes.
Full C# POCO objects allow you to concentrate on creating a great application and not parsing random JSON from a source.
I started working on this last night and thought you guys would like to use it when creating some applications. Currently it only fetches the Movie by ID number but it's actively being developed and will be feature-complete in no time.
If you are a C# programmer considering contributing to the lib, it's open source!
I'm the original author of the library by the way and I hope you guys enjoy using it. It's very simple to use:
https://bitbucket.org/sergiotapia/cherrytomato
CherryTomato makes using information provided by RottenTomatoes.com very simple. It's aim is to allow developers to quickly and safely create powerful applications with the JSON api provided for free by RottenTomatoes.
Full C# POCO objects allow you to concentrate on creating a great application and not parsing random JSON from a source.
I started working on this last night and thought you guys would like to use it when creating some applications. Currently it only fetches the Movie by ID number but it's actively being developed and will be feature-complete in no time.
If you are a C# programmer considering contributing to the lib, it's open source!
I'm the original author of the library by the way and I hope you guys enjoy using it. It's very simple to use:
Code:
string apiKey = ConfigurationManager.AppSettings["ApiKey"];
var tomatoe = new Tomatoe(apiKey);
//Numerical ID in this case is 9818.
var movie = tomatoe.FindMovieById(9818);
Console.WriteLine(movie.Name);
Console.WriteLine(movie.Year);
foreach (var rating in movie.Ratings)
{
Console.WriteLine("{0} Rating: {1}", rating.Type, rating.Score);
}
Console.ReadKey();
https://bitbucket.org/sergiotapia/cherrytomato