/imdb

Omdb API in golang

Primary LanguageGoMIT LicenseMIT

About imdb

imdb provides a simple wrapper around the OMDb API.

Installing

Install in the usual Go fashion:

$ go get -u github.com/kenshaw/imdb

Using

imdb can be used similarly to the following:

import (
    /* ... */
    "github.com/kenshaw/imdb"
)

cl := imdb.New("my-api-key")
res, err := cl.Search("Fight Club", "")
if err != nil { /* ... */ }
log.Printf(">>> results: %+v", res)

Please see the GoDoc listing for the full API.