TheCatApi

The Cats Service provides access to the Cat API data from https://api.thecatapi.com/v1/.

RPCS

TheCatApi.getCatBreeds()

Get list of cat breeds.

Returns: List<CatBreed> (List | CatBreed) - list of cat breeds supported by API.

TheCatApi.getRandomCatImage(catBreed: CatBreed?)

Get random cat image.

Arguments:

  • catBreed: CatBreed? (CatBreed) - provides a specific breed to search for. If omitted, no-breed-based filtering is performed.

Returns: Image (Image) - the requested image