tiktok

package
v1.46.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: OSL-3.0 Imports: 6 Imported by: 0

README

Documentation

Index

Constants

View Source
const Origin = "http://api2.musical.ly"

Variables

View Source
var LogLevel format.LogLevel

Functions

func Parse added in v1.42.6

func Parse(id string) (uint64, error)

Types

type AwemeDetail added in v1.42.4

type AwemeDetail struct {
	Author struct {
		Unique_ID string
	}
	Aweme_ID    string
	Create_Time int64
	// height field here is invalid
	Video struct {
		Duration  int64
		Play_Addr struct {
			Width    int
			Height   int
			URL_List []string
		}
	}
}

func NewAwemeDetail added in v1.42.4

func NewAwemeDetail(id uint64) (*AwemeDetail, error)

func (AwemeDetail) Duration added in v1.43.1

func (a AwemeDetail) Duration() time.Duration

func (AwemeDetail) Time added in v1.43.1

func (a AwemeDetail) Time() time.Time

func (AwemeDetail) URL added in v1.42.4

func (a AwemeDetail) URL() (string, error)

Jump to

Keyboard shortcuts

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