tvdb.go is a client API wrapper for


Just run go get


package main

import ""

func main() {
    // matches is an array of tvdb.Series entries that match
    // the series you were searching for
    matches, err := tvdb.GetSeries("A-Team")

    // To populate the episode and other information for a specific
    // series, you run the `GetEpisodes()` function
    err = matches[0].GetEpisodes()

    // You can also create a Series entry directly if you already
    // know it's TVDB id through other means
    series := &tvdb.Series{Id: '123456'}
    err = series.GetEpisodes()

Built With

Share this project: