Versions in this module Expand all Collapse all v0 v0.1.1 Jul 22, 2026 v0.1.0 Jul 18, 2026 Changes in this version + const AppVersion + const AppVersionNumber + const HostMain + const HostMirror + const UserAgent + var CollectionSpecs = map[string]struct{ ... } + var EntityLetters = map[string]string + var MainFlags = map[string]bool + var Zones = map[string]int + func ActorPeriod(period string) string + func AllPages(fetch func(page int) ([]map[string]any, error), maxPages int) ([]map[string]any, error) + func BuildEntityFilter(kind, entityID, zone string, main []string) (string, error) + func BuildSearchParams(keyword string, opt SearchOptions) map[string]string + func BuildTagFilter(zone string, main, tags []string, year, month string) (string, error) + func BuildTop250Params(zone, year string, startRank, page, limit int, ignoreWatched bool) (map[string]string, error) + func FilterMagnets(magnets []map[string]any, cnsub, hd bool, minSize int) []map[string]any + func LoadOrCreateDeviceUUID(path string) (string, error) + func MagnetURI(m map[string]any) string + func PickBestMagnet(magnets []map[string]any) map[string]any + func ResolveNumber(movies []map[string]any, number string) (string, error) + func SearchTypeListKey(kind string) string + type AuthRequired struct + API Error + func (e *AuthRequired) Error() string + func (e *AuthRequired) Unwrap() error + type BrowseOptions struct + Limit int + Main []string + Month string + Order string + Page int + Sort string + TagIDs []string + Year string + Zone string + type Client struct + func New(opts Options) (*Client, error) + func (c *Client) AllEntityMovies(kind, entityID string, opt EntityMoviesOptions, maxPages int) ([]map[string]any, error) + func (c *Client) Browse(opt BrowseOptions) (SearchResult, error) + func (c *Client) Collected(kind string) ([]map[string]any, error) + func (c *Client) CollectedPage(kind string, page int) ([]map[string]any, error) + func (c *Client) DeleteJSON(path string, params map[string]string, dest any) error + func (c *Client) DeviceUUID() string + func (c *Client) EntityDetail(kind, id string) (map[string]any, error) + func (c *Client) EntityMovies(kind, entityID string, opt EntityMoviesOptions) (SearchResult, error) + func (c *Client) GetJSON(path string, params map[string]string, dest any) error + func (c *Client) ListInfo(listID string) (map[string]any, error) + func (c *Client) LoadOrRefreshTaxonomy(zone string, force bool) (*tags.Doc, string, error) + func (c *Client) Login(username, password string) (string, error) + func (c *Client) Mark(movieID, status string, score int, content string) (map[string]any, error) + func (c *Client) MovieDetail(movieID string) (map[string]any, error) + func (c *Client) MovieMagnets(movieID string) ([]map[string]any, error) + func (c *Client) MyLists(page, limit int, sortBy string) (SearchResult, error) + func (c *Client) PostFormJSON(path string, form map[string]string, dest any) error + func (c *Client) RankingsActors(period string) (SearchResult, error) + func (c *Client) RankingsMovies(type_, period string) (SearchResult, error) + func (c *Client) RankingsPlayback(filterBy, period string) (SearchResult, error) + func (c *Client) RecentViewed() ([]map[string]any, error) + func (c *Client) RefreshTagTaxonomy(zone string) (*tags.Doc, error) + func (c *Client) RelatedLists(movieID string, page, limit int) (SearchResult, error) + func (c *Client) ResolveEntity(kind, ref, zone string) (string, error) + func (c *Client) ResolveMovieID(number string) (string, error) + func (c *Client) ResolveTags(refs []string, zone string) ([]string, error) + func (c *Client) ResolveUserID(token string) (int64, string, error) + func (c *Client) ReviewMoviesPage(status string, page int) ([]map[string]any, error) + func (c *Client) Search(keyword string, opt SearchOptions) (SearchResult, error) + func (c *Client) SetToken(token string) + func (c *Client) Startup() (map[string]json.RawMessage, error) + func (c *Client) TagsRaw(zone, lang string) ([]map[string]any, error) + func (c *Client) Token() string + func (c *Client) Top250(zone, year string, startRank, page, limit int, ignoreWatched bool) (SearchResult, error) + func (c *Client) Unmark(movieID string) (bool, error) + func (c *Client) Users() (map[string]json.RawMessage, error) + func (c *Client) WantMovies() ([]map[string]any, error) + func (c *Client) WatchedMovies() ([]map[string]any, error) + type EntityMoviesOptions struct + Limit int + Main []string + Order string + Page int + Sort string + Tags []string + Zone string + type Error struct + Action string + Message string + func (e *Error) Error() string + type LoginResponse struct + AccessToken string + Raw map[string]json.RawMessage + Token string + User json.RawMessage + type Options struct + AppChannel string + DeviceModel string + DeviceName string + DeviceUUID string + Host string + Lang string + Proxy string + SystemVersion string + Timeout time.Duration + Token string + type SearchOptions struct + FilterBy string + Limit int + Page int + Sort string + Type string + Zone string + type SearchResult map[string]json.RawMessage + func (r SearchResult) Movies() []map[string]any + func (r SearchResult) Named(key string) []map[string]any