tmdb

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client to communicate with tmdb api.

func New

func New(config Config) (*Client, error)

New return a new tmdb client.

func (*Client) GetMovies

func (c *Client) GetMovies(query, year string) (*gotmdb.SearchMovies, error)

GetMovies search for movies using query and year (if provided). see: https://developers.themoviedb.org/3/search/search-movies

type Config

type Config struct {
	APIKey string
}

Config contains configuration for tmdb Client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL