externalapis

package
v0.0.0-...-9d6c436 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Twitch = twitch{}
View Source
var TwitchHelixBase = "https://api.twitch.tv/helix"

Functions

func ReadRequestResponse

func ReadRequestResponse(resp *http.Response, out interface{}) error

ReadRequestResponse: quick utility for decoding an api response to a struct

Types

type GetTwitchUsersParams

type GetTwitchUsersParams struct {
	ID    string `url:"id"`
	Login string `url:"login"`
}

type TwitchUsersResponse

type TwitchUsersResponse struct {
	Data []*structures.TwitchConnection `json:"data"`
}

Jump to

Keyboard shortcuts

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