-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendpoints.go
More file actions
24 lines (17 loc) · 845 Bytes
/
endpoints.go
File metadata and controls
24 lines (17 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package gtvapi
// endpoint represents an API endpoint path.
type endpoint string
const (
// videoInfoEndpoint is the endpoint for retrieving video information.
videoInfoEndpoint endpoint = "video/info"
// videoPlaylistEndpoint is the endpoint for retrieving video playlist URLs.
videoPlaylistEndpoint endpoint = "video/playlist"
// videoCommentsEndpoint is the endpoint for retrieving video comments.
videoCommentsEndpoint endpoint = "video/comments"
// videoDiscoveryEndpoint is the base endpoint for video discovery.
videoDiscoveryEndpoint endpoint = "video/discovery"
// externalTwitchLivecheckEndpoint is the endpoint for checking Twitch live status.
externalTwitchLivecheckEndpoint endpoint = "external/twitch/livecheck"
// tagsAllEndpoint is the endpoint for retrieving all tags.
tagsAllEndpoint endpoint = "tags/all"
)