tft

package
v0.0.0-...-fcecf71 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewsClient

type NewsClient struct {
	// Available locales:
	// en-us, en-gb, de-de, es-es, fr-fr, it-it, en-au, pl-pl, ru-ru,
	// el-gr, ro-ro, hu-hu, cs-cz, es-mx, pt-br, tr-tr, ko-kr, ja-jp
	// en-sg, en-ph, zh-tw, vi-vn, th-th
	Locale string
}

A client that allows to get official Teamfight Tactics news.

Source - https://teamfighttactics.leagueoflegends.com/

func (NewsClient) GetItems

func (client NewsClient) GetItems(count int) ([]NewsEntry, error)

type NewsEntry

type NewsEntry = nextjsnews.Item

Teamfight Tactics news entry.

Jump to

Keyboard shortcuts

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