user

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecommendationParser

type RecommendationParser struct {
	parser.BaseParser
	Username string
	Page     int
	Data     []model.Recommendation
}

RecommendationParser is parser for MyAnimeList user's recommendation list. Example: https://myanimelist.net/profile/rl404/recommendations

func InitRecommendationParser

func InitRecommendationParser(config config.Config, username string, page ...int) (recommendation RecommendationParser, err error)

InitRecommendationParser to initiate all fields and data of RecommendationParser.

type ReviewParser

type ReviewParser struct {
	parser.BaseParser
	Username string
	Type     string
	Page     int
	Data     []model.Review
}

ReviewParser is parser for MyAnimeList user review list. Example: https://myanimelist.net/profile/rl404/reviews

func InitReviewParser

func InitReviewParser(config config.Config, username string, page ...int) (review ReviewParser, err error)

InitReviewParser to initiate all fields and data of ReviewParser.

type UserFriendParser

type UserFriendParser struct {
	parser.BaseParser
	Username string
	Page     int
	Data     []model.Friend
}

UserFriendParser is parser for MyAnimeList user friend list. Example: https://myanimelist.net/profile/rl404/friends

func InitUserFriendParser

func InitUserFriendParser(config config.Config, username string, page ...int) (userFriend UserFriendParser, err error)

InitUserFriendParser to initiate all fields and data of UserFriendParser.

type UserHistoryParser

type UserHistoryParser struct {
	parser.BaseParser
	Username string
	Type     string
	Data     []model.UserHistory
}

UserHistoryParser is parser for MyAnimeList user history list. Example: https://myanimelist.net/history/rl404

func InitUserHistoryParser

func InitUserHistoryParser(config config.Config, username string, historyType ...string) (userHistory UserHistoryParser, err error)

InitUserHistoryParser to initiate all fields and data of UserHistoryParser.

type UserParser

type UserParser struct {
	parser.BaseParser
	Username string
	Data     model.User
}

UserParser is parser for MyAnimeList user profile. Example: https://myanimelist.net/profile/rl404

func InitUserParser

func InitUserParser(config config.Config, username string) (user UserParser, err error)

InitUserParser to initiate all fields and data of UserParser.

Jump to

Keyboard shortcuts

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