externalapis

package
v0.0.0-...-6d36bb5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Discord = discord{}
View Source
var DiscordAPIBase = "https://discord.com/api/v10"
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"`
}

Jump to

Keyboard shortcuts

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