ltdapi

package
v0.0.0-...-cc8b469 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	PlayersData []PlayersData
	Date        string
}

type LTDResponse

type LTDResponse struct {
	Games []Game
}

type LtdApi

type LtdApi struct {
	Key string
}

func New

func New() *LtdApi

func (*LtdApi) Request

func (api *LtdApi) Request(offset int, date string) (*http.Response, error)

func (*LtdApi) RequestUnits

func (api *LtdApi) RequestUnits(offset int) (*http.Response, error)

type PlayersData

type PlayersData struct {
	Cross                      bool
	MercenariesReceivedPerWave [][]string
	LeaksPerWave               [][]string
	BuildPerWave               [][]string
}

type Unit

type Unit struct {
	UnitId    string
	UnitClass string
}

Jump to

Keyboard shortcuts

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