api

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChannel

func GetChannel(channel string, getFollowers bool) types.Channel

func GetChannelFollowers

func GetChannelFollowers(claimId string) (int64, error)

func GetChannelVideos

func GetChannelVideos(page int, channelId string) []types.Video

func GetCommentLikeDislikes

func GetCommentLikeDislikes(commentIds []string) map[string][]int64

func GetComments

func GetComments(claimId string, channelId string, channelName string) []types.Comment

func GetFrontpageVideos

func GetFrontpageVideos() []types.Video

func GetLikeDislike

func GetLikeDislike(claimId string) []int64

func GetVideo

func GetVideo(channel string, video string, claimId string) (types.Video, error)

func GetVideoStream

func GetVideoStream(video string) string

func GetVideoViews

func GetVideoViews(claimId string) int64

func NewUser added in v0.4.0

func NewUser() string

func ProcessVideo

func ProcessVideo(videoData gjson.Result) types.Video
func Search(query string, page int, claimType string, nsfw bool, relatedTo string) ([]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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