ytData

package
v0.0.0-...-89f9822 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 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 PlayListId

type PlayListId struct {
	Id string `json:"id"`
}

Request that is received from the client Contains the ID of the playlist whose meta data the client is requesting

type Response

type Response struct {
	Data []VideoData `json:"data"`
}

Response that will be sent back to the client

func GetPlayListData

func GetPlayListData(playlistId string) Response

Returns an response with metadata about a YouTube playlist * Takes in ID of the playlist

type VideoData

type VideoData struct {
	Title        string
	VideoId      string
	ThumbnailUrl string
}

Stores the metadata info for a particular video

Jump to

Keyboard shortcuts

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