jawr / imdb

Omdb API in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Omdb API in golang

License:MIT License


Languages

Language:Go 100.0%