Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Pepijn98/IMDBCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet

IMDBCore

Wrapper for omdbapi in C# .NETCore

Example

using System;
using System.Threading.Tasks;
using IMDBCore;

namespace example
{
  public class Program
  {
    public static void Main() => new Program().Execute().GetAwaiter().GetResult();

    private async Task Execute()
    {
      var imdb = new Imdb("API_KEY");
      var movie = await imdb.GetMovieAsync("MOVIE_TITLE");

      // Log title unless there is an error
      var title = movie.Error ?? movie.Title;
      Console.WriteLine(title);
    }
  }
}

Releases

No releases published

Packages

No packages published

Languages