WorldCupClient

A client for the merino wcs endpoint.

Use `WorldCupClient::new` to create an instance, then call `WordCupClient::get_*` to fetch wcs content.

Constructors

Link copied to clipboard
constructor(config: WorldCupConfig)

Creates a new WorldCupClient from the given configuration.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun getLive(options: WorldCupOptions): String?

Fetches live info from merino wcs endpoint

Link copied to clipboard
open override fun getMatches(options: WorldCupOptions): String?

Fetches matches from merino wcs endpoint

Link copied to clipboard
open override fun getTeams(options: WorldCupOptions): String?

Fetches teams from the merino wcs endpoint