drops

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var (
	TOKEN        string
	CLIENT_ID    string
	ENTITLEMENTS []models.DropsEntitlementsData
)
View Source
var BASE_URL = "https://api.twitch.tv/helix/entitlements/drops"

Functions

func ExportEntitlements

func ExportEntitlements(filename string, gameID string, userID string)

Types

type DropsEntitlementExportParameters

type DropsEntitlementExportParameters struct {
	GameID string
	UserID string
	URL    string
	Cursor string
}

type RLClient

type RLClient struct {
	RateLimiter *rate.Limiter
	// contains filtered or unexported fields
}

func NewClient

func NewClient(l *rate.Limiter) *RLClient

func (*RLClient) Do

func (c *RLClient) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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