WorldCupClientInterface

A client for the merino wcs endpoint.

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

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun getLive(options: WorldCupOptions): String?

Fetches live info from merino wcs endpoint

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

Fetches matches from merino wcs endpoint

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

Fetches teams from the merino wcs endpoint