crapi

package
v0.0.0-...-15b0e05 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Clan(tag string) (*tbot.Clan, error)
	Player(tag string) (*tbot.Player, error)
	BattleLog(tag string) (*tbot.BattleLog, error)
}

Client that fetches model objects from Clash of Clan's API

func NewClient

func NewClient(token string) Client

NewClient creates a new instance of API.

Jump to

Keyboard shortcuts

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