V2Api

class V2Api

The v2 API: https://www.thesportsdb.com/api/v2/json/{group}/{name}/{param}, with the key in the X-API-KEY header. Premium keys only: with the free key every call throws PremiumRequiredException without touching the network.

Every response's record key is the group name (search, lookup, ...).

Types

Link copied to clipboard
class All

all/...: complete catalogues.

Link copied to clipboard
class Lists

list/...

Link copied to clipboard
class Live

livescore/.... Never cached unless your io.github.rohang27.thesportsdb.cache.CachePolicy says so.

Link copied to clipboard
class Lookup

lookup/...: full records by id.

Link copied to clipboard
class Schedule

schedule/.... Times in the returned events are UTC.

Link copied to clipboard
class Search

search/...: up to 10 results, summary fields only. Look up by id for full records.

Link copied to clipboard
class Tv

filter/tv/...: TV listings.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard