Exemple #1
0
// NewExplorer returns a new explorer
func NewExplorer(p *Params) (polochon.Explorer, error) {
	return &TraktTV{
		client: trakttv.New(p.ClientID),
	}, nil
}
Exemple #2
0
// New returns a new TraktTV
func New(p *Params) (*TraktTV, error) {
	return &TraktTV{
		client: trakttv.New(p.ClientID),
	}, nil
}