https://github.com/danesparza/tvdb
:tv: TVDB v2.0 API wrapper for Go
https://github.com/danesparza/tvdb
api api-client client go golang golang-package thetvdb thetvdb-api tv-api tv-series tv-shows
Last synced: 3 months ago
JSON representation
:tv: TVDB v2.0 API wrapper for Go
- Host: GitHub
- URL: https://github.com/danesparza/tvdb
- Owner: danesparza
- License: mit
- Created: 2016-08-23T17:35:37.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-29T13:09:19.000Z (almost 8 years ago)
- Last Synced: 2025-01-24T07:11:38.467Z (4 months ago)
- Topics: api, api-client, client, go, golang, golang-package, thetvdb, thetvdb-api, tv-api, tv-series, tv-shows
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tvdb [](https://circleci.com/gh/danesparza/tvdb) [](https://goreportcard.com/report/github.com/danesparza/tvdb) [](https://opensource.org/licenses/MIT)
TVDB v2.0 API wrapper for Go## Installation
`go get -u github.com/danesparza/tvdb`## Example
``` Go
// Create a client and search request
client := tvdb.Client{}
request := tvdb.SeriesEpisodesRequest{Name: "Looney Tunes"}// Search for the series
responses, err := client.SeriesSearch(request)// Loop through the TV series information in the resopnse:
for _, response := range responses {
fmt.Printf("Series name: %v", response.SeriesName)
}
```This should print:
```
Series name: Looney Tunes
Series name: The Looney Tunes Show (2011)
Series name: ** 403: Series Not Permitted **
Series name: Baby Looney Tunes
```