anilist

package
v0.0.0-...-d163c5b Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2019 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AniList

type AniList struct {
	Auth             *auth
	Settings         *settings.Settings
	ID               int
	Username         string
	ScoreFormat      string
	AnimeCustomLists []string
	MangaCustomLists []string
}

func NewAniList

func NewAniList(settings *settings.Settings) *AniList

func (*AniList) Authorize

func (ptr *AniList) Authorize() chan bool

func (*AniList) ForgetToken

func (ptr *AniList) ForgetToken()

func (*AniList) IsAuthenticated

func (ptr *AniList) IsAuthenticated() bool

func (*AniList) IsExpired

func (ptr *AniList) IsExpired() bool

func (*AniList) LoadToken

func (ptr *AniList) LoadToken() error

func (*AniList) QueryMediaListCollection

func (ptr *AniList) QueryMediaListCollection(mediaType string) []media.List

func (*AniList) QueryUserSettings

func (ptr *AniList) QueryUserSettings() error

func (*AniList) SetupUser

func (ptr *AniList) SetupUser() error

Jump to

Keyboard shortcuts

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