lor

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusURL = "/lor/status/v1/platform-data"
)

Legends of Runeterra endpoints

Variables

This section is empty.

Functions

This section is empty.

Types

type LORClient

type LORClient struct {
	Status *StatusEndpoint
	// contains filtered or unexported fields
}

func NewLORClient

func NewLORClient(client *internal.InternalClient) *LORClient

Returns a new client using the API key provided.

type Region

type Region string
const (
	Americas Region = "americas"
	Europe   Region = "europe"
	SEA      Region = "sea"
)

Legends of Runeterra regions

type StatusEndpoint

type StatusEndpoint struct {
	// contains filtered or unexported fields
}

func (*StatusEndpoint) PlatformStatus

func (s *StatusEndpoint) PlatformStatus(region Region) (*api.PlatformDataDTO, error)

Get Legends of Runeterra status for the given platform.

Jump to

Keyboard shortcuts

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