lists

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListsEndpoint

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

ListsEndpoint 提供用户列表与相关列表 capability。

func NewLists

func NewLists(c *client.Client) *ListsEndpoint

NewLists 用共享 transport 构造 lists capability。

func (*ListsEndpoint) ListInfo

func (e *ListsEndpoint) ListInfo(listID string) (map[string]any, error)

ListInfo GET /api/v1/lists/{id} — full payload (list, is_creator, …).

func (*ListsEndpoint) MyLists

func (e *ListsEndpoint) MyLists(page, limit int, sortBy string) (model.SearchResult, error)

MyLists GET /api/v1/lists — sort_by is required by the server.

func (*ListsEndpoint) RelatedLists

func (e *ListsEndpoint) RelatedLists(movieID string, page, limit int) (model.SearchResult, error)

RelatedLists GET /api/v1/lists/related?movie_id=

Jump to

Keyboard shortcuts

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