GitXplorerGitXplorer
V

TheTVDBSharp

public
4 stars
2 forks
2 issues

Commits

List of commits on branch master.
Unverified
9b8e8b17f57fb09ba50a3de7eb9aaf7bf6ffb0e6

Updated project nuget information

VViktorHofer committed 8 years ago
Unverified
3e54869c31406eeb899da68b7d53e1b543f62c9e

Updated version

VViktorHofer committed 8 years ago
Unverified
571e9be38bae0fdf189cc9cd2d0ea085a30f6aee

Safer width and height of banner parsing with unit tests. Safer last updated time parsing in UpdateParseService.

VViktorHofer committed 8 years ago
Unverified
b71bfb3080f14b8ced593e53ffe8fcb894cb020a

Sample fix

VViktorHofer committed 8 years ago
Unverified
8dc946056677f72a22fafef4ca60d7fed4c23fcf

Merge branch 'master' of https://github.com/ViktorHofer/TheTVDBSharp

VViktorHofer committed 8 years ago
Unverified
329bb07e31ff128a3d5bcb950bb86c1c8e1b22da

.NET Standard 1.1 adjustments and folder publishing

VViktorHofer committed 8 years ago

README

The README file for this repository.

TheTVDBSharp

Nuget Package: https://www.nuget.org/packages/TheTVDBSharp/

A C# wrapper for the TVDB API.

This API provides an easy-to-use interface to the TVDB API by translating the XML responses into objects. You won't need any knowledge about the API itself to use this library.

To get started there are a few steps you have to undertake.

1) Get an API key.
This is as easy as filling out a form on TheTVDB's webpage. Read the rules and enter your information, you can find your API key under 'Account'.

http://thetvdb.com/?tab=apiregister

2) Optionally: familiarize yourself with the API itself.
You don't have to do this, but some people might want to read up on the, although slightly outdated, API.

http://www.thetvdb.com/wiki/index.php?title=Programmers_API

3) Import the library.
Easiest way is to add nuget package via Nuget Package Manager in Visual Studio. Link at the top.

4) Use it!
You can now use TheTVDBSharp in your own project.

A simple example:

var tvdb = new TVDBManager("mykey"); // Create a new TVDB object with your API key.
var results = tvdb.SearchSeries("Scrubs", Language.English); // Search for a show called scrubs with english as language

foreach(var show in results){
 Console.WriteLine("{0}:\t{1} Episodes", show.Title, show.Episodes.Count); // Print every show's name and amount of episodes
}

Notes
If you encounter any issues or have a suggestion: don't hesitate to open a ticket.
Should you wish to do so, you can contact me at viktor.hofer@outlook.com.